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:
Takatoshi Kondo 2016-05-18 19:21:52 +09:00
parent 7df967142d
commit 0dcab0b2b1
2 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,7 @@ class zone {
::free(c);
c = n;
} else {
m_head = c;
break;
}
}

View File

@ -125,6 +125,7 @@ class zone {
::free(c);
c = n;
} else {
m_head = c;
break;
}
}