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

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Nov 20 13:01:58 MST 2006


Author: tilghman
Date: Mon Nov 20 14:01:58 2006
New Revision: 47864

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47864
Log:
Oops, merge missed release of odbc object

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=47864&r1=47863&r2=47864
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Mon Nov 20 14:01:58 2006
@@ -1102,6 +1102,7 @@
 						if ((fdm = mmap(NULL, fdlen, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)) == -1) {
 							ast_log(LOG_WARNING, "Could not mmap the output file: %s (%d)\n", strerror(errno), errno);
 							SQLFreeHandle(SQL_HANDLE_STMT, stmt);
+							ast_odbc_release_obj(obj);
 							goto yuck;
 						}
 					}



More information about the asterisk-commits mailing list