diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-07 18:40:21 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-07 18:40:21 +0000 |
commit | 63834a4e15684ab47cb9e781033490be1ef662be (patch) | |
tree | fa39c6f50d5cd5df187478245d83b92704435f1b /res | |
parent | a2d96f48abd1fbf254ee0db236c5068072449ea0 (diff) |
Don't free the object on destroy, as astobj2 takes care of that for you
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115525 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_odbc.c | 1 |
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) |