Avoid freeing an unallocated variable (RhBug:688091)
This commit is contained in:
parent
9ba7b7a178
commit
88a3950fd8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue