From 85fd69ec1eeb283631528ce0a93e1fc5489ef23f Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Wed, 5 Dec 2018 23:33:20 -0500 Subject: Deleting initial Petri pointer --- fungi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fungi.cpp b/fungi.cpp index 41011fc..fd7b138 100644 --- a/fungi.cpp +++ b/fungi.cpp @@ -341,5 +341,7 @@ int main(int argv, char* argc[]) { win.doFungus(); } + delete p; + return 0; } -- cgit v1.2.3