projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dccb80e
)
Remember to free up resources from matchpathcon_init()
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 8 Aug 2008 10:06:28 +0000
(13:06 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 8 Aug 2008 10:06:28 +0000
(13:06 +0300)
lib/transaction.c
patch
|
blob
|
history
diff --git
a/lib/transaction.c
b/lib/transaction.c
index
64b79f2
..
f075c9b
100644
(file)
--- a/
lib/transaction.c
+++ b/
lib/transaction.c
@@
-1573,6
+1573,10
@@
int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet)
runTransScripts(ts, RPMTAG_POSTTRANS);
}
+ if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOCONTEXTS)) {
+ matchpathcon_fini();
+ }
+
rpmtsFreeLock(lock);
/* FIX: ts->flList may be NULL */