summaryrefslogtreecommitdiff
path: root/lib/fsm.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-19 22:27:44 +0000
committerjbj <devnull@localhost>2002-08-19 22:27:44 +0000
commitae8428475cbfde3af746d51a056e0655fe6269d8 (patch)
tree6d173ac13fbc11799ea49d3dd70d5b8ee452283a /lib/fsm.c
parent105f7a517cd13b7c40b359548a9c75cbd00ed9c4 (diff)
downloadlibrpm-tizen-ae8428475cbfde3af746d51a056e0655fe6269d8.tar.gz
librpm-tizen-ae8428475cbfde3af746d51a056e0655fe6269d8.tar.bz2
librpm-tizen-ae8428475cbfde3af746d51a056e0655fe6269d8.zip
- add --with-efence to configure, check install/upgrade with efence.
- beecrypt: short hex string conversion overflows target buffer. - mark "successors only" packages in transaction. - reap scriptlets with SIGCHLD handler. - rename PSM_t to rpmpsm, add methods and refcounts to manage. - remove %%configure/%%makeinstall from arch-os/macros, default is OK. - don't export MALLOC_CHECK_ to scriptlets. - squeaky clean memory leak checking. - always malloc rpmfi structure, refcounts are correct in rpmtsRun(). - skip redundant /sbin/ldconfig scripts on upgrade (if possible). CVS patchset: 5645 CVS date: 2002/08/19 22:27:44
Diffstat (limited to 'lib/fsm.c')
-rw-r--r--lib/fsm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index 610546beb..ae8e780c2 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -101,11 +101,12 @@ const char * fsmFsPath(/*@special@*/ /*@null@*/ const FSM_t fsm,
* @retval NULL always
*/
static /*@null@*/ void * mapFreeIterator(/*@only@*//*@null@*/ void * p)
- /*@*/
+ /*@globals fileSystem @*/
+ /*@modifies fileSystem @*/
{
FSMI_t iter = p;
if (iter) {
- iter->ts = rpmtsUnlink(iter->ts, "mapIterator");
+ iter->ts = rpmtsFree(iter->ts);
iter->fi = rpmfiUnlink(iter->fi, "mapIterator");
}
return _free(p);