diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-13 12:47:22 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-13 12:47:22 +0200 |
commit | 827399cda09b7271b735a6c502e9a58597117bd7 (patch) | |
tree | bb679604ed25d5933927847b8b87c92e8e6d5b98 | |
parent | 7d032c35059210b81ac8054a81ea1270837fadc3 (diff) | |
download | rpm-827399cda09b7271b735a6c502e9a58597117bd7.tar.gz rpm-827399cda09b7271b735a6c502e9a58597117bd7.tar.bz2 rpm-827399cda09b7271b735a6c502e9a58597117bd7.zip |
Fix free on invalid pointer after displaying "Unable to open temp file"
Patch from Pascal Rigaux
-rw-r--r-- | build/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c index d2886c06a..ec5183eef 100644 --- a/build/pack.c +++ b/build/pack.c @@ -385,7 +385,7 @@ int writeRPM(Header *hdrp, unsigned char ** pkgidp, const char *fileName, FD_t fd = NULL; FD_t ifd = NULL; int32_t count, sigtag; - const char * sigtarget; + const char * sigtarget = NULL;; const char * rpmio_flags = NULL; const char * SHA1 = NULL; char *s; |