summaryrefslogtreecommitdiff
path: root/res/res_odbc.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-05-07 18:40:21 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-05-07 18:40:21 +0000
commit842df68a1f36ccf454c174db5d0eaa21377e5114 (patch)
treefa39c6f50d5cd5df187478245d83b92704435f1b /res/res_odbc.c
parent60f877ad5f2190ef2454777804e136b391da472c (diff)
Don't free the object on destroy, as astobj2 takes care of that for you
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_odbc.c')
-rw-r--r--res/res_odbc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c
index 701af585d..b685d047c 100644
--- a/res/res_odbc.c
+++ b/res/res_odbc.c
@@ -100,7 +100,6 @@ static void odbc_obj_destructor(void *data)
odbc_obj_disconnect(obj);
ast_mutex_destroy(&obj->lock);
ao2_ref(obj->parent, -1);
- ast_free(obj);
}
SQLHSTMT ast_odbc_direct_execute(struct odbc_obj *obj, SQLHSTMT (*exec_cb)(struct odbc_obj *obj, void *data), void *data)