From 0d139318449592a44f199461d2bc6d49715cd13a Mon Sep 17 00:00:00 2001 From: Takatoshi Kondo Date: Mon, 9 Dec 2013 21:37:35 +0000 Subject: [PATCH] Fixed freed memory accessing bug in the C++ code. (Issue #32) --- cpp11/zone.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp11/zone.hpp b/cpp11/zone.hpp index b7fbf5b4..07fd678b 100644 --- a/cpp11/zone.hpp +++ b/cpp11/zone.hpp @@ -133,6 +133,7 @@ private: ::free(c); c = n; } else { + head_ = c; break; } }