summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-06-25 17:17:16 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-06-25 17:17:16 +0300
commit8c5437b37914bd098a9f13366e53aba5a1c9cf15 (patch)
treeb027090e8ee191a5d9d11a038d09792aedea6340 /rpmio
parent271069f90046994b005a469c80c2e150a41af9f3 (diff)
downloadlibrpm-tizen-8c5437b37914bd098a9f13366e53aba5a1c9cf15.tar.gz
librpm-tizen-8c5437b37914bd098a9f13366e53aba5a1c9cf15.tar.bz2
librpm-tizen-8c5437b37914bd098a9f13366e53aba5a1c9cf15.zip
Kick out silly constfree() use
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmfileutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/rpmfileutil.c b/rpmio/rpmfileutil.c
index 060d0c1d7..bb99d418f 100644
--- 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;
- const char * 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);
- _constfree(url);
+ free(url);
return result;
}