aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx.c b/pbx.c
index d5db64560..83eb48243 100755
--- a/pbx.c
+++ b/pbx.c
@@ -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;
}