libmsc: fix another memleak (struct gsm_sms) in gsm340_rx_tpdu()
Change-Id: I42e819fb83096c1432df16f501b9d1f6a6160ae7 Fixes: I2c50904349dd4ed229b60b8468d776b817c0bd44changes/13/26413/2
parent
ef19fc1ccd
commit
6d594e4e83
|
@ -642,7 +642,7 @@ static int gsm340_rx_tpdu(struct gsm_trans *trans, struct msgb *msg,
|
|||
* attempt re-submission to the ESME)
|
||||
*/
|
||||
if (rc == GSM411_RP_CAUSE_MO_NET_OUT_OF_ORDER)
|
||||
return rc;
|
||||
goto out; /* free() the message */
|
||||
|
||||
/*
|
||||
* This SMS got routed through SMPP or no receiver exists.
|
||||
|
|
Loading…
Reference in New Issue