Commit 809cc5dc authored by Giulio Carota's avatar Giulio Carota

Avoid double free on NGAP PDU

parent d46b75a5
......@@ -41,6 +41,7 @@ NgapMessage::NgapMessage() {
//------------------------------------------------------------------------------
NgapMessage::~NgapMessage() {
if(ngapPdu)
ASN_STRUCT_FREE(asn_DEF_Ngap_NGAP_PDU, ngapPdu);
Logger::ngap().debug("Free NGAP Message PDU");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment