aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-21 18:49:52 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-21 18:49:52 +0000
commit2144646c416b6dece22336e254985d8a32dc33cb (patch)
tree873430f1a3524673b22d272a831f5386dcccbb06 /pbx.c
parent72f094704773a411c624a6b0943f28c94ec4cfab (diff)
Fix small memory leak... (bug #2277)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3629 f38db490-d61c-443f-a65b-d21fe96a405b
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;
}