diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-17 21:46:19 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-17 21:46:19 +0000 |
commit | 2af0b389616a84aa7526b3cf07e35b530d642771 (patch) | |
tree | 710bdd8fd2332519b38299350aeaab0c724fff17 /res | |
parent | dc62f1668393238ed9a8c3d14440628edcc765da (diff) |
Fix a refcount leak in res_odbc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@165330 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_odbc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_odbc.c b/res/res_odbc.c index c017f0c0b..808867f84 100644 --- a/res/res_odbc.c +++ b/res/res_odbc.c @@ -750,6 +750,7 @@ struct odbc_obj *ast_odbc_request_obj(const char *name, int check) } #endif + ao2_ref(class, -1); return obj; } |