Index: pbx.c =================================================================== RCS file: /usr/cvsroot/asterisk/pbx.c,v retrieving revision 1.144 diff -u -r1.144 pbx.c --- pbx.c 8 Aug 2004 17:15:01 -0000 1.144 +++ pbx.c 20 Aug 2004 20:15:43 -0000 @@ -2856,6 +2856,7 @@ 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; }