diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-07 02:00:32 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-07 02:00:32 +0800 |
commit | 71f4f355fadfbb2e32f143ae7bc9fd308bd0f195 (patch) | |
tree | 70b66a3d768e4cd6abc424bb13e0cd7b85a8d6f2 /src | |
parent | 43d9eec14b9ec59f19a95b864ace7fb798724e2e (diff) |
msc: Use the msc function to clear the queue
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -358,10 +358,7 @@ void release_bsc_resources(struct bsc_data *bsc) } /* clear pending messages from the MSC */ - while (!llist_empty(&bsc->link.the_link->pending_msgs)) { - struct msgb *msg = msgb_dequeue(&bsc->link.the_link->pending_msgs); - msgb_free(msg); - } + msc_clear_queue(bsc); } void bsc_link_down(struct link_data *data) |