mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-25 01:55:39 +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);
|
||||
c = n;
|
||||
} else {
|
||||
cl->head = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user