diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-13 13:05:55 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-13 13:05:55 +0300 |
commit | 511beb375763f84b04ca555c3c9df4c67738aee2 (patch) | |
tree | a4952e7bcbef2746ab137ed3b5869e42d23cd4f6 /lib/fsm.c | |
parent | 6ad4cbdfb52c4ea1b9f30f9580084dc3c94c5b60 (diff) | |
download | rpm-511beb375763f84b04ca555c3c9df4c67738aee2.tar.gz rpm-511beb375763f84b04ca555c3c9df4c67738aee2.tar.bz2 rpm-511beb375763f84b04ca555c3c9df4c67738aee2.zip |
Fix some broken fooUnlink() usages
- unreferencing should always go through fooFree() which does
the real refcounting and frees when references go out
Diffstat (limited to 'lib/fsm.c')
-rw-r--r-- | lib/fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ static void * mapFreeIterator(void * p) /* XXX rpmswExit() */ iter->ts = rpmtsFree(iter->ts); iter->te = NULL; /* XXX rpmte is not refcounted yet */ - iter->fi = rpmfiUnlink(iter->fi); + iter->fi = rpmfiFree(iter->fi); } return _free(p); } |