mirror of
				https://github.com/msgpack/msgpack-c.git
				synced 2025-10-25 18:23:00 +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:
		| @@ -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; | ||||
|                 } | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Takatoshi Kondo
					Takatoshi Kondo