From ae5c80e1deeae11fa0f3478a6efa03e38971897f Mon Sep 17 00:00:00 2001 From: markster Date: Tue, 22 Jun 2004 17:42:14 +0000 Subject: Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3273 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_rpt.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/app_rpt.c') diff --git a/apps/app_rpt.c b/apps/app_rpt.c index a4992cb1e..9edd77f52 100755 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -2113,7 +2113,10 @@ static int rpt_exec(struct ast_channel *chan, void *data) int unload_module(void) { + int i; STANDARD_HANGUP_LOCALUSERS; + for(i = 0; i < nrpts; i++) { + ast_mutex_destroy(&rpt_vars[i].lock); return ast_unregister_application(app); return 0; } -- cgit v1.2.3