From cd3c6a30c9f6fa80fe0fb66d8583e7cc77213180 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 5 Jan 2008 14:43:50 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7092 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/sqlite/.update | 2 +- libs/sqlite/src/sqliteInt.h | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/libs/sqlite/.update b/libs/sqlite/.update index 55bdca0f6c..3c991b5716 100644 --- a/libs/sqlite/.update +++ b/libs/sqlite/.update @@ -1 +1 @@ -Fri Jan 4 10:43:39 CST 2008 +Sat Jan 5 09:43:41 EST 2008 diff --git a/libs/sqlite/src/sqliteInt.h b/libs/sqlite/src/sqliteInt.h index cd5c23939b..ce7d65c44c 100644 --- a/libs/sqlite/src/sqliteInt.h +++ b/libs/sqlite/src/sqliteInt.h @@ -296,15 +296,8 @@ static inline void *zmalloc(size_t x) #endif -static inline void sane_free(void *x) -{ - if (x) { - free(x); - x = NULL; - } -} -#define sqliteFree(x) sane_free(x) //sqlite3FreeX(x) +#define sqliteFree(x) do { free(x); x = NULL; } while(x) //sqlite3FreeX(x) #define sqliteAllocSize(x) sqlite3AllocSize(x)