aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sched.c b/sched.c
index b9b44f869..f3841e399 100755
--- a/sched.c
+++ b/sched.c
@@ -238,6 +238,7 @@ int ast_sched_del(struct sched_context *con, int id)
else
con->schedq = s->next;
con->schedcnt--;
+ sched_release(con, s);
return 0;
}
last = s;