diff options
Diffstat (limited to 'lib/uninstall.c')
-rw-r--r-- | lib/uninstall.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/uninstall.c b/lib/uninstall.c index 63d8fd934..9c8d7dccb 100644 --- a/lib/uninstall.c +++ b/lib/uninstall.c @@ -7,7 +7,6 @@ #include "depends.h" /* XXX for headerMatchesDepFlags */ #include "install.h" #include "misc.h" /* XXX for makeTempFile, doputenv */ -#include "rpmdb.h" /* XXX for rpmdbRemove */ static char * SCRIPT_PATH = "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin"; @@ -452,7 +451,6 @@ static int handleOneTrigger(const char * root, rpmdb db, int sense, Header sourc if (!headerGetEntry(triggeredH, RPMTAG_TRIGGERNAME, NULL, (void **) &triggerNames, &numTriggers)) { - headerFree(triggeredH); return 0; } |