Commit 09c87307 authored by Lev Walkin's avatar Lev Walkin Committed by GitHub

Merge branch 'master' into fix_recent_memory_leak_and_access_violation

parents 59b1bc8e 5230c64b
......@@ -607,9 +607,12 @@ asn1c__add_pdu_type(const char *ctypename) {
static void
asn1c__cleanup_pdu_type() {
int i;
for (i = 0; i < pduTypes; i++)
for(i = 0; i < pduTypes; i++) {
free(pduType[i].typename);
}
free(pduType);
pduType = NULL;
pduTypes = 0;
}
static int
......
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