Version 0.2.0 from FTP
authorMark Spencer <markster@digium.com>
Thu, 5 Sep 2002 21:32:54 +0000 (21:32 +0000)
committerMark Spencer <markster@digium.com>
Thu, 5 Sep 2002 21:32:54 +0000 (21:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@518 65c4cc65-6c06-0410-ace0-fbb531ad65f3

sched.c

diff --git a/sched.c b/sched.c
index b9b44f8..f3841e3 100755 (executable)
--- 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;