aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fungi.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}