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:
f88fe16
)
Use constfree for rpmts suggestions
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 18 Dec 2007 08:48:10 +0000
(10:48 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 18 Dec 2007 08:48:10 +0000
(10:48 +0200)
- goes down to rpmal returning fnpykey which is declared as const..
check this later
lib/rpmts.c
patch
|
blob
|
history
diff --git
a/lib/rpmts.c
b/lib/rpmts.c
index
af406c7
..
452ec48
100644
(file)
--- a/
lib/rpmts.c
+++ b/
lib/rpmts.c
@@
-835,7
+835,7
@@
void rpmtsClean(rpmts ts)
for (i = 0; i < ts->nsuggests; i++) {
const char * str = ts->suggests[i];
ts->suggests[i] = NULL;
- _free(str);
+ _
const
free(str);
}
ts->suggests = _free(ts->suggests);
ts->nsuggests = 0;