diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-05-28 22:30:41 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-05-29 11:50:54 +0300 |
commit | b1597da353522a0ba7581766f31d8fbd5272ac66 (patch) | |
tree | 2dd9cb43efc714757f1e153ed4a81519c796825d /lib/rpmgi.c | |
parent | 7c036b9ca33c67fa8530d886e2072e264fcba6df (diff) | |
download | rpm-b1597da353522a0ba7581766f31d8fbd5272ac66.tar.gz rpm-b1597da353522a0ba7581766f31d8fbd5272ac66.tar.bz2 rpm-b1597da353522a0ba7581766f31d8fbd5272ac66.zip |
Eliminate dead NULL-assignments at scope-end in librpm, part VI
- Remove NULL-assignments of local variables at the end of scope
in "cli-level" code
Diffstat (limited to 'lib/rpmgi.c')
-rw-r--r-- | lib/rpmgi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmgi.c b/lib/rpmgi.c index afc1c4916..1b2de8ad5 100644 --- a/lib/rpmgi.c +++ b/lib/rpmgi.c @@ -50,7 +50,7 @@ static FD_t rpmgiOpen(const char * path, const char * fmode) if (fd != NULL) (void) Fclose(fd); fd = NULL; } - fn = _free(fn); + free(fn); return fd; } |