mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-26 11:46:34 +01:00
Merge pull request #34 from redboltz/fix_freed_mem_access
Fixed freed memory accessing bug.
This commit is contained in:
commit
edef040688
@ -63,6 +63,7 @@ static inline void clear_chunk_list(msgpack_zone_chunk_list* cl, size_t chunk_si
|
|||||||
free(c);
|
free(c);
|
||||||
c = n;
|
c = n;
|
||||||
} else {
|
} else {
|
||||||
|
cl->head = c;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user