summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-11-17 17:57:59 +0200
committerPanu Matilainen <pmatilai@redhat.com>2012-11-18 10:22:39 +0200
commit224b94f34918192984a2e8909c2664f661483efd (patch)
treedf24c38ad3ae9b895e18d3b50801098bbb774106 /build
parent1cc7d5c90154f177d654da916e6155d545ddc8b8 (diff)
downloadlibrpm-tizen-224b94f34918192984a2e8909c2664f661483efd.tar.gz
librpm-tizen-224b94f34918192984a2e8909c2664f661483efd.tar.bz2
librpm-tizen-224b94f34918192984a2e8909c2664f661483efd.zip
Fix double-free on %caps in spec (RhBug:877512)
- Fixes regression caused by dumb refactoring mistake in commit 807ba93a6cf168410e3801347898949f356fcd6c (cherry picked from commit 6bdd34c451dbf69792c59704e06f1ccb045ae743)
Diffstat (limited to 'build')
-rw-r--r--build/files.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index d299cb9cd..10d7fffd7 100644
--- a/build/files.c
+++ b/build/files.c
@@ -216,7 +216,6 @@ static void FileEntryFree(FileEntry entry)
{
freeAttrRec(&(entry->ar));
argvFree(entry->langs);
- free(entry->caps);
memset(entry, 0, sizeof(*entry));
}