]> git.buserror.net Git - polintos/scott/priv.git/commit
idlcomp: valgrind fixes
authorScott Wood <scott@thor.buserror.net>
Mon, 7 Apr 2008 04:17:10 +0000 (23:17 -0500)
committerScott Wood <scott@thor.buserror.net>
Mon, 7 Apr 2008 04:17:10 +0000 (23:17 -0500)
commiteec2efc14a0d624d475dc89e2bcb962e7c081df5
tree87567aab486a7f7594f8823e11e7838a85299264
parenteb906c7894bb0f4788b49968a637f434133ff879
idlcomp: valgrind fixes

The NameSpace::dying flag is broken; if there's another reference to
a child, it will persist with a bad ns pointer.  Instead, have the
namespace destructor loop through its children and call del().

Remove an unnecessary retention in Symbol constructor.
idlcomp/idlc.h
idlcomp/main.cc
idlcomp/namespace.cc