--- rpm-5.4.10/tools/debugedit.c.debugedit_memleaks~ 2012-05-19 22:14:30.000000000 +0200 +++ rpm-5.4.10/tools/debugedit.c 2013-01-03 09:24:01.764153125 +0100 @@ -1689,6 +1689,8 @@ main (int argc, char *argv[]) /* Restore old access rights */ chmod (file, stat_buf.st_mode); + _free(dso->filename); + _free(dso); poptFreeContext (optCon); return 0;