Code Review
/
ric-app
/
rc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
image tag updated
[ric-app/rc.git]
/
e2ap
/
wrapper.c
diff --git
a/e2ap/wrapper.c
b/e2ap/wrapper.c
index
d7a6395
..
729f8d0
100644
(file)
--- a/
e2ap/wrapper.c
+++ b/
e2ap/wrapper.c
@@
-188,6
+188,8
@@
RICControlAcknowledge* e2ap_decode_ric_control_acknowledge_message(void *buffer,
msg->ricControlOutComeSize = ricControlOutComeSize;
}
}
+ if(pdu != NULL)
+ ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
return msg;
}
}
@@
-279,7
+281,10
@@
RICControlFailure* e2ap_decode_ric_control_failure_message(void *buffer, size_t
}
}
- return msg;
+ if(pdu != NULL)
+ ASN_STRUCT_FREE(asn_DEF_E2AP_PDU, pdu);
+
+ return msg;
}
}