diff options
author | ewt <devnull@localhost> | 1997-02-20 02:20:58 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-02-20 02:20:58 +0000 |
commit | 6b5a82caab0555e265204b7112826f3beec86579 (patch) | |
tree | 372e6b51a0fec2f7fae0c47eb21a7ef8fbcfbd6a /lib | |
parent | fc3a2d33a9ae4179ab95d0b02add105c56dc288a (diff) | |
download | rpm-6b5a82caab0555e265204b7112826f3beec86579.tar.gz rpm-6b5a82caab0555e265204b7112826f3beec86579.tar.bz2 rpm-6b5a82caab0555e265204b7112826f3beec86579.zip |
frees FILEUSERNAME and FILEGROUPNAME lists
CVS patchset: 1448
CVS date: 1997/02/20 02:20:58
Diffstat (limited to 'lib')
-rw-r--r-- | lib/verify.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/verify.c b/lib/verify.c index 4186647b4..ac00d5d97 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -151,6 +151,7 @@ int rpmVerifyFile(char * prefix, Header h, int filenum, int * result, NULL)) { if (strcmp(unameList[filenum], uidToUname(sb.st_uid))) *result |= RPMVERIFY_USER; + free(unameList); } else if (headerGetEntry(h, RPMTAG_FILEUIDS, NULL, (void **) &uidList, &count)) { if (uidList[filenum] != sb.st_uid) @@ -167,6 +168,7 @@ int rpmVerifyFile(char * prefix, Header h, int filenum, int * result, NULL)) { if (strcmp(gnameList[filenum], gidToGname(sb.st_gid))) *result |= RPMVERIFY_GROUP; + free(gnameList); } else if (headerGetEntry(h, RPMTAG_FILEGIDS, NULL, (void **) &gidList, &count)) { if (gidList[filenum] != sb.st_gid) |