Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Backported #441 to cpp-1.4.
Fixed a pointer operation problem at msgpack::zone::chunk_list::clear().
It was only happened on C++03.
  • Loading branch information
redboltz committed May 18, 2016
commit 0dcab0b2b17c6e1625b036a567013241cb25025b
1 change: 1 addition & 0 deletions erb/cpp03_zone.hpp.erb
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class zone {
::free(c);
c = n;
} else {
m_head = c;
break;
}
}
Expand Down
1 change: 1 addition & 0 deletions include/msgpack/detail/cpp03_zone.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ class zone {
::free(c);
c = n;
} else {
m_head = c;
break;
}
}
Expand Down