From 025c60f84e47eca34d67216cfa67909ca1deda9e Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 5 Dec 2006 01:41:02 +0000 Subject: [PATCH] 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 --- apps/app_voicemail.c | 1 + 1 file changed, 1 insertion(+) 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; } }