diff options
author | Mark Michelson <mmichelson@digium.com> | 2008-12-17 21:46:19 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2008-12-17 21:46:19 +0000 |
commit | 6c459b1b58babb56435dd7d444b7454799d4758b (patch) | |
tree | 710bdd8fd2332519b38299350aeaab0c724fff17 /res/res_odbc.c | |
parent | 7c1bd94231cd75222dd4e15b14353dd24a0e63bf (diff) |
Fix a refcount leak in res_odbc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_odbc.c')
-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; } |