]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
ao_write: Call ao_initialize() only once.
authorAndre Noll <maan@systemlinux.org>
Sun, 9 Mar 2014 14:21:48 +0000 (15:21 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 6 Apr 2014 06:53:26 +0000 (08:53 +0200)
It is possible that another instance of the ao writer is active
when aow_close() is called. Calling ao_shutdown() in ao_close()
might disturb the other instance and lead to a segmentation fault.

Fix this by calling ao_initialize() only once during aow_init()
and never call ao_shutdown() any more.


No differences found