]> git.tdb.fi Git - gldbg.git/commit
Fix several problems reported by valgrind
authorMikko Rasa <tdb@tdb.fi>
Sat, 25 Aug 2012 17:25:42 +0000 (20:25 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 25 Aug 2012 17:32:06 +0000 (20:32 +0300)
commita34325fadec5b2be003bf9af1f081bfc4c83e8b6
tree224f544003511b24238117b11d7746eb023b5d62
parentefd709c6cdac15b7823e80ed64e448003aea835d
Fix several problems reported by valgrind

Initialize sock_fd in constructor

Add destructors to free allocated memory

Don't call exit() so the destructors actually get executed
12 files changed:
flavors/gl/source/bufferstate.cpp
flavors/gl/source/bufferstate.h
flavors/gl/source/inspector.cpp
flavors/gl/source/inspector.h
flavors/gl/source/profiler.cpp
flavors/gl/source/profiler.h
source/commandinterpreter.cpp
source/commandinterpreter.h
source/gldbg.cpp
source/gldbg.h
source/grabber.cpp
source/grabber.h