diff dbutil.c @ 650:df11cb6a3665

- We don't need to test for NULL before free()
author Matt Johnston <matt@ucc.asn.au>
date Sun, 04 Dec 2011 05:23:43 +0800
parents 452bcf810e44
children 16af1decaf4c
line wrap: on
line diff
--- a/dbutil.c	Fri Feb 10 19:09:52 2012 +0800
+++ b/dbutil.c	Sun Dec 04 05:23:43 2011 +0800
@@ -800,12 +800,6 @@
 	return ret;
 }
 
-void __m_free(void* ptr) {
-	if (ptr != NULL) {
-		free(ptr);
-	}
-}
-
 void * m_realloc(void* ptr, size_t size) {
 
 	void *ret;