Avoid freeing an unallocated variable (RhBug:688091)

This commit is contained in:
Jindrich Novy 2011-03-16 15:07:55 +01:00
parent 9ba7b7a178
commit 88a3950fd8
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ rpmRC rpmReadPackageManifest(FD_t fd, int * argcPtr, char *** argvPtr)
/* Sanity checks: skip obviously binary lines and dash (for stdin) */
if (*s < 32 || rstreq(s, "-")) {
s = NULL;
rpmrc = RPMRC_NOTFOUND;
goto exit;
}