From: Tilghman Lesher Date: Tue, 5 Dec 2006 01:41:02 +0000 (+0000) Subject: Oops, forgot to release the odbc handle X-Git-Tag: 1.4.0-beta4~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=025c60f84e47eca34d67216cfa67909ca1deda9e;p=thirdparty%2Fasterisk.git Oops, forgot to release the odbc handle git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48254 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index b9c478e8d3..d24ec2a67c 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1115,6 +1115,7 @@ static int retrieve_file(char *dir, int msgnum) 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; } }