Fix small memory leak... (bug #2277)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-08-21 18:49:52 +00:00
parent 4f9f6df42c
commit d0ab0358aa

1
pbx.c
View File

@@ -2856,6 +2856,7 @@ int ast_unregister_application(char *app) {
apps = tmp->next;
if (option_verbose > 1)
ast_verbose( VERBOSE_PREFIX_2 "Unregistered application '%s'\n", tmp->name);
free(tmp);
ast_mutex_unlock(&applock);
return 0;
}