summaryrefslogtreecommitdiffstats
path: root/typewrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'typewrappers.c')
-rw-r--r--typewrappers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/typewrappers.c b/typewrappers.c
index 9b88f3f..91c32fc 100644
--- a/typewrappers.c
+++ b/typewrappers.c
@@ -86,7 +86,7 @@ libvirt_charPtrSizeWrap(char *str, Py_ssize_t size)
return Py_None;
}
ret = PyString_FromStringAndSize(str, size);
- VIR_FREE(str);
+ free(str);
return ret;
}
@@ -100,7 +100,7 @@ libvirt_charPtrWrap(char *str)
return Py_None;
}
ret = PyString_FromString(str);
- VIR_FREE(str);
+ free(str);
return ret;
}