projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c1bd94
)
Fix a refcount leak in res_odbc
author
Mark Michelson
<mmichelson@digium.com>
Wed, 17 Dec 2008 21:46:19 +0000
(21:46 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Wed, 17 Dec 2008 21:46:19 +0000
(21:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@165330
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_odbc.c
patch
|
blob
|
history
diff --git
a/res/res_odbc.c
b/res/res_odbc.c
index
c017f0c
..
808867f
100644
(file)
--- 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;
}