diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-06-25 17:17:16 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-06-25 17:17:16 +0300 |
commit | 8c5437b37914bd098a9f13366e53aba5a1c9cf15 (patch) | |
tree | b027090e8ee191a5d9d11a038d09792aedea6340 /rpmio | |
parent | 271069f90046994b005a469c80c2e150a41af9f3 (diff) | |
download | librpm-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.c | 4 |
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; } |