diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-05 01:41:02 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-05 01:41:02 +0000 |
commit | 25c7fd4df060a4e2905921ea4c10f13970bc8496 (patch) | |
tree | 4a0ed87616aecbefc02d998955ef9982b3eabb2c /apps/app_voicemail.c | |
parent | 7865b11fb6fce9e3c1ef6fcc96dd1fb676c75016 (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
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r-- | apps/app_voicemail.c | 1 |
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; } } |