[svn-commits] mmichelson: trunk r165330 - /trunk/res/res_odbc.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Dec 17 15:46:20 CST 2008


Author: mmichelson
Date: Wed Dec 17 15:46:19 2008
New Revision: 165330

URL: http://svn.digium.com/view/asterisk?view=rev&rev=165330
Log:
Fix a refcount leak in res_odbc


Modified:
    trunk/res/res_odbc.c

Modified: trunk/res/res_odbc.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_odbc.c?view=diff&rev=165330&r1=165329&r2=165330
==============================================================================
--- trunk/res/res_odbc.c (original)
+++ trunk/res/res_odbc.c Wed Dec 17 15:46:19 2008
@@ -750,6 +750,7 @@
 	}
 #endif
 
+	ao2_ref(class, -1);
 	return obj;
 }
 




More information about the svn-commits mailing list