diff --git a/nglib/nglib.cpp b/nglib/nglib.cpp index 5fea184c..2c8883b3 100644 --- a/nglib/nglib.cpp +++ b/nglib/nglib.cpp @@ -91,7 +91,8 @@ namespace nglib // Clean-up functions before ending usage of nglib DLL_HEADER void Ng_Exit () { - ; + delete testout; + testout = 0; }