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:
271069f
)
Kick out silly constfree() use
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 25 Jun 2009 14:17:16 +0000
(17:17 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 25 Jun 2009 14:17:16 +0000
(17:17 +0300)
rpmio/rpmfileutil.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmfileutil.c
b/rpmio/rpmfileutil.c
index
060d0c1
..
bb99d41
100644
(file)
--- a/
rpmio/rpmfileutil.c
+++ b/
rpmio/rpmfileutil.c
@@
-480,7
+480,7
@@
char * rpmGenPath(const char * urlroot, const char * urlmdir,
char * xfile = rpmGetPath(urlfile, NULL);
const char * file = xfile;
char * result;
- c
onst c
har * url = NULL;
+ char * url = NULL;
int nurl = 0;
int ut;
@@
-516,7
+516,7
@@
char * rpmGenPath(const char * urlroot, const char * urlmdir,
xroot = _free(xroot);
xmdir = _free(xmdir);
xfile = _free(xfile);
-
_const
free(url);
+ free(url);
return result;
}