From ceedfe1f3f14e6cae48ee7684f98c7e4ab1fd2be Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 7 Jan 2016 21:29:28 +0100 Subject: [PATCH] better leaking than segfaulting --- src/surf/host_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/surf/host_interface.cpp b/src/surf/host_interface.cpp index 81a7c80aec..b2a6700ad9 100644 --- a/src/surf/host_interface.cpp +++ b/src/surf/host_interface.cpp @@ -115,7 +115,7 @@ Host::~Host() delete p_cpu; // FIXME: VM plays strange games, leading to segfaults if I do the expected thing of next line // delete p_netElm; - delete p_storage; + // delete p_storage; } /** @brief Fire the require callbacks and destroy the object * -- 2.20.1