diff options
Diffstat (limited to 'openbsc/src/chan_alloc.c')
-rw-r--r-- | openbsc/src/chan_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/chan_alloc.c b/openbsc/src/chan_alloc.c index 48c728c09..541c6c35e 100644 --- a/openbsc/src/chan_alloc.c +++ b/openbsc/src/chan_alloc.c @@ -227,7 +227,7 @@ void lchan_free(struct gsm_lchan *lchan) lchan->type = GSM_LCHAN_NONE; if (lchan->subscr) { subscr_put(lchan->subscr); - lchan->subscr = 0; + lchan->subscr = NULL; } /* We might kill an active channel... */ @@ -304,5 +304,5 @@ struct gsm_lchan *lchan_for_subscr(struct gsm_subscriber *subscr) return lchan; } - return 0; + return NULL; } |