mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-26 06:25:22 +02:00
Fixed #440.
Fixed a pointer operation problem at msgpack::zone::chunk_list::clear(). It was only happened on C++03.
This commit is contained in:
parent
b5b865a6ca
commit
fe229d1df0
@ -113,6 +113,7 @@ class zone {
|
||||
::free(c);
|
||||
c = n;
|
||||
} else {
|
||||
m_head = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -113,6 +113,7 @@ class zone {
|
||||
::free(c);
|
||||
c = n;
|
||||
} else {
|
||||
m_head = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user