summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-12-04 05:23:43 +0800
committerMatt Johnston <matt@ucc.asn.au>2011-12-04 05:23:43 +0800
commit2e0145fb95bbe2b379412f661494c3954b1c21a1 (patch)
tree27a952c3d96d26afbecfe38636bc3c31ad8c0e3c /dbutil.c
parentbcf3a3ab932366ab91d1c2dbf28d7fef00702a8f (diff)
- We don't need to test for NULL before free()
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/dbutil.c b/dbutil.c
index 8823ab6..5460799 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -800,12 +800,6 @@ void * m_strdup(const char * str) {
return ret;
}
-void __m_free(void* ptr) {
- if (ptr != NULL) {
- free(ptr);
- }
-}
-
void * m_realloc(void* ptr, size_t size) {
void *ret;