mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user