summaryrefslogtreecommitdiff
path: root/lib/rpmps.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-05-07 20:24:01 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-05-07 20:24:01 +0300
commit1d7e1f66e1be40705b23e4a9a1c7be3d4ae611d9 (patch)
tree9fb79f1c26b0972f20eeb3c7966e2601a986757d /lib/rpmps.c
parent6fc3cbefee92520a842caa29cf0ae1cc6f238c98 (diff)
downloadrpm-1d7e1f66e1be40705b23e4a9a1c7be3d4ae611d9.tar.gz
rpm-1d7e1f66e1be40705b23e4a9a1c7be3d4ae611d9.tar.bz2
rpm-1d7e1f66e1be40705b23e4a9a1c7be3d4ae611d9.zip
Plug dumb memleak in rpmpsMerge()
Diffstat (limited to 'lib/rpmps.c')
-rw-r--r--lib/rpmps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmps.c b/lib/rpmps.c
index 7107e3922..e7a0bf0ed 100644
--- a/lib/rpmps.c
+++ b/lib/rpmps.c
@@ -151,6 +151,7 @@ int rpmpsMerge(rpmps dest, rpmps src)
rpmpsAppendProblem(dest, p);
rc++;
}
+ rpmpsFreeIterator(spi);
}
return rc;
}