aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-05 01:41:02 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-05 01:41:02 +0000
commit25c7fd4df060a4e2905921ea4c10f13970bc8496 (patch)
tree4a0ed87616aecbefc02d998955ef9982b3eabb2c
parent7865b11fb6fce9e3c1ef6fcc96dd1fb676c75016 (diff)
Oops, forgot to release the odbc handle
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48254 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_voicemail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index b9c478e8d..d24ec2a67 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;
}
}