From 80fb260a604fe49517d968ae1e9c0cc78a18b5de Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 17 Nov 2009 20:42:09 +0100 Subject: [lchan] Release the channel ones its' usecount drops to zero Remove the timer handling from the LCHAN and release the channel ones the use count is dropping to zero. Change code that was sending/using the lchan after the release and change the send data method to warn in case the lchan is used after it has been freed. --- openbsc/tests/channel/channel_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/tests') diff --git a/openbsc/tests/channel/channel_test.c b/openbsc/tests/channel/channel_test.c index 1b01878b5..ed0f3ad57 100644 --- a/openbsc/tests/channel/channel_test.c +++ b/openbsc/tests/channel/channel_test.c @@ -76,4 +76,5 @@ int main(int argc, char** argv) void nm_state_event() {} void input_event() {} void sms_alloc() {} +void _lchan_release() {} -- cgit v1.2.3