mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-27 00:17:25 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user