mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-28 18:51:30 +00:00
Fix a refcount leak in res_odbc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -750,6 +750,7 @@ struct odbc_obj *ast_odbc_request_obj(const char *name, int check)
|
||||
}
|
||||
#endif
|
||||
|
||||
ao2_ref(class, -1);
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user