summaryrefslogtreecommitdiff
path: root/python/header-py.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/header-py.c')
-rw-r--r--python/header-py.c4
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;
}