mirror of https://gerrit.osmocom.org/asn1c
Fix a memory leak in xer_equivalent
Free the internal buffers
This commit is contained in:
parent
edd82a9686
commit
84dd0fef6f
|
@ -230,6 +230,8 @@ xer_equivalent(struct asn_TYPE_descriptor_s *td, void *struct1,
|
|||
return XEQ_ROUND_TRIP_FAILED;
|
||||
}
|
||||
|
||||
return XEQ_SUCCESS;
|
||||
FREEMEM(xb1.buffer);
|
||||
FREEMEM(xb2.buffer);
|
||||
return XEQ_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue