diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-03-09 15:26:54 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-03-09 15:26:54 +0200 |
commit | f104306f5928bcea09f0ecc622243df9c42fc466 (patch) | |
tree | 234190560100f4b8a1c30f5067d99d134974747f /python/header-py.c | |
parent | 99f9c67ad498a954c1d1d221d206ef2a4d794571 (diff) | |
download | rpm-f104306f5928bcea09f0ecc622243df9c42fc466.tar.gz rpm-f104306f5928bcea09f0ecc622243df9c42fc466.tar.bz2 rpm-f104306f5928bcea09f0ecc622243df9c42fc466.zip |
Eliminate unnecessary _free() usages in python
Diffstat (limited to 'python/header-py.c')
-rw-r--r-- | python/header-py.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/header-py.c b/python/header-py.c index 98ecac95b..1d37c2911 100644 --- a/python/header-py.c +++ b/python/header-py.c @@ -173,7 +173,7 @@ static PyObject * hdrUnload(hdrObject * s, PyObject * args, PyObject *keywords) } rc = PyBytes_FromStringAndSize(buf, len); - buf = _free(buf); + free(buf); return rc; } @@ -234,7 +234,7 @@ static PyObject * hdrFormat(hdrObject * s, PyObject * args, PyObject * kwds) } result = Py_BuildValue("s", r); - r = _free(r); + free(r); return result; } |