]> git.mxchange.org Git - simgear.git/commit
Alex Buzin:
authorehofman <ehofman>
Mon, 12 Oct 2009 17:22:41 +0000 (17:22 +0000)
committerTim Moore <timoore@redhat.com>
Tue, 13 Oct 2009 22:34:39 +0000 (00:34 +0200)
commitf16199283644236bd33eed77dc622a3ce70a995f
treee155a0a7f6bda45169feb5889b303aa07ad087d8
parentbabf58f8d2700b3ba84089e7b59f8838c685d6ca
Alex Buzin:
I got an error with the Sunday CVS - FG crashed while exiting .
gdb reports SIGSEGV error at file soundmgr_openal.cxx, line 159.

Error was fixed by changing lines 157-159 from:
        buffer_map_iterator buffers_current = _buffers.begin();
        buffer_map_iterator buffers_end = _buffers.end();
        for ( ; buffers_current != buffers_end; ++buffers_current ) {
to :
        buffer_map_iterator buffers_current;
        while(_buffers.size()){
            buffers_current = _buffers.begin();
simgear/sound/soundmgr_openal.cxx