Commit 84dd0fef authored by Vasil Velichkov's avatar Vasil Velichkov Committed by Lev Walkin

Fix a memory leak in xer_equivalent

Free the internal buffers
parent edd82a96
......@@ -230,6 +230,8 @@ xer_equivalent(struct asn_TYPE_descriptor_s *td, void *struct1,
return XEQ_ROUND_TRIP_FAILED;
}
FREEMEM(xb1.buffer);
FREEMEM(xb2.buffer);
return XEQ_SUCCESS;
}
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