properly free parsed asn.1 structure before N-UNITDATA.ind completes

This commit is contained in:
Harald Welte 2010-07-18 01:13:31 +02:00
parent 6a06c081cd
commit d62e881f9d
1 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,9 @@ int tcap_tco_n_unitdata_ind(struct tcap_transport_entity *se, struct msgb *msg)
break;
}
/* Release the parsed structure */
asn_DEF_TCMessage.free_struct(&asn_DEF_TCMessage, tcmsg, 0);
return rc;
}