Skip to content

Commit

Permalink
Backported #441 to cpp-1.4.
Browse files Browse the repository at this point in the history
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
1 parent 7df9671 commit 0dcab0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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

0 comments on commit 0dcab0b

Please sign in to comment.