Skip to content

Commit bb0617b

Browse files
committed
Merge pull request #427 from redboltz/bp_423_to_1.4
Backported #423 to version 1.4.0.
2 parents cabd8a8 + 3f4ffb9 commit bb0617b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void* msgpack_zone_malloc_expand(msgpack_zone* zone, size_t size)
7474
while(sz < size) {
7575
size_t tmp_sz = sz * 2;
7676
if (tmp_sz <= sz) {
77-
tmp_sz = size;
77+
sz = size;
7878
break;
7979
}
8080
sz = tmp_sz;

0 commit comments

Comments
 (0)