]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Fix leak in debuginfo.c
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Mon, 12 Mar 2012 22:06:57 +0000 (22:06 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Mon, 12 Mar 2012 22:06:57 +0000 (22:06 +0000)
commitc25dc78c78bf19b782e0d7d9a6c2add364a541ac
tree65897166375e5f1acc08be7749fe4b808a96d1ce
parentaa50a7e4dfc1980558b8db898428dd2659cd9b24
Fix leak in debuginfo.c
di->soname was not freed, so was leaked when debug info is removed.
free(soname) added in free_Debuginfo, after having verified
and then ensured that all soname are allocated in dinfo.

regtested on deb6/amd64

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12442
coregrind/m_debuginfo/debuginfo.c
coregrind/m_debuginfo/priv_storage.h
coregrind/m_debuginfo/readelf.c