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:
Mark Michelson
2008-12-17 21:46:19 +00:00
parent 7c1bd94231
commit 6c459b1b58

View File

@@ -750,6 +750,7 @@ struct odbc_obj *ast_odbc_request_obj(const char *name, int check)
}
#endif
ao2_ref(class, -1);
return obj;
}