diff options
-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; } } |