summaryrefslogtreecommitdiff
path: root/lib/rpmgi.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-05-28 22:30:41 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-05-29 11:50:54 +0300
commitb1597da353522a0ba7581766f31d8fbd5272ac66 (patch)
tree2dd9cb43efc714757f1e153ed4a81519c796825d /lib/rpmgi.c
parent7c036b9ca33c67fa8530d886e2072e264fcba6df (diff)
downloadlibrpm-tizen-b1597da353522a0ba7581766f31d8fbd5272ac66.tar.gz
librpm-tizen-b1597da353522a0ba7581766f31d8fbd5272ac66.tar.bz2
librpm-tizen-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.c2
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;
}