mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-22 08:26:35 +01:00
cpp: fix return type mismatch in zone.c
This commit is contained in:
parent
18967162cf
commit
5cad81bf4c
@ -204,7 +204,7 @@ msgpack_zone* msgpack_zone_new(size_t chunk_size)
|
||||
|
||||
if(!init_chunk_list(&zone->chunk_list, chunk_size)) {
|
||||
free(zone);
|
||||
return false;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
init_finalizer_array(&zone->finalizer_array);
|
||||
|
Loading…
x
Reference in New Issue
Block a user