[asterisk-commits] tilghman: branch 1.4 r48254 - /branches/1.4/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Dec 4 18:41:03 MST 2006


Author: tilghman
Date: Mon Dec  4 19:41:02 2006
New Revision: 48254

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48254
Log:
Oops, forgot to release the odbc handle

Modified:
    branches/1.4/apps/app_voicemail.c

Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=48254&r1=48253&r2=48254
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Mon Dec  4 19:41:02 2006
@@ -1115,6 +1115,7 @@
 								ast_log(LOG_WARNING, "SQL Get Data error!\n[%s]\n\n", sql);
 								unlink(full_fn);
 								SQLFreeHandle(SQL_HANDLE_STMT, stmt);
+								ast_odbc_release_obj(obj);
 								goto yuck;
 							}
 						}



More information about the asterisk-commits mailing list