mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-07-04 17:40:03 +02:00
Backported #441 to cpp-1.4.
Fixed a pointer operation problem at msgpack::zone::chunk_list::clear(). It was only happened on C++03.
This commit is contained in:
parent
7df967142d
commit
0dcab0b2b1
@ -125,6 +125,7 @@ class zone {
|
||||
::free(c);
|
||||
c = n;
|
||||
} else {
|
||||
m_head = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -125,6 +125,7 @@ class zone {
|
||||
::free(c);
|
||||
c = n;
|
||||
} else {
|
||||
m_head = c;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user