libmsc: Set trans->subscr = NULL after we release it
This is a cosmetic change and should happen to find use after free of the subscriber.
This commit is contained in:
parent
25b70cea9d
commit
405824c057
|
@ -103,8 +103,10 @@ void trans_free(struct gsm_trans *trans)
|
|||
trans->paging_request = NULL;
|
||||
}
|
||||
|
||||
if (trans->subscr)
|
||||
if (trans->subscr) {
|
||||
subscr_put(trans->subscr);
|
||||
trans->subscr = NULL;
|
||||
}
|
||||
|
||||
llist_del(&trans->entry);
|
||||
|
||||
|
|
Loading…
Reference in New Issue