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-03-12 11:39:38 +09:00
parent b5b865a6ca
commit fe229d1df0
2 changed files with 2 additions and 0 deletions

View File

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

View File

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