aboutsummaryrefslogtreecommitdiffstats
path: root/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'manager.c')
-rwxr-xr-xmanager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/manager.c b/manager.c
index f5055d124..e16bdf8b3 100755
--- a/manager.c
+++ b/manager.c
@@ -220,6 +220,7 @@ static void destroy_session(struct mansession *s)
sessions = cur->next;
if (s->fd > -1)
close(s->fd);
+ ast_mutex_destroy(&s->lock);
free(s);
} else
ast_log(LOG_WARNING, "Trying to delete non-existant session %p?\n", s);