aboutsummaryrefslogtreecommitdiffstats
path: root/fungi.cpp
diff options
context:
space:
mode:
authorMatt Kohls <mattkohls13@gmail.com>2018-12-05 23:33:20 -0500
committerMatt Kohls <mattkohls13@gmail.com>2018-12-05 23:33:20 -0500
commit85fd69ec1eeb283631528ce0a93e1fc5489ef23f (patch)
treedfca2a5fd6dc7f9c7d7fd34f8955e86a787f85d6 /fungi.cpp
parent5cf54c9970deb62ad709ec928e8952061dac1da5 (diff)
downloadfungi-85fd69ec1eeb283631528ce0a93e1fc5489ef23f.tar.gz
fungi-85fd69ec1eeb283631528ce0a93e1fc5489ef23f.tar.bz2
fungi-85fd69ec1eeb283631528ce0a93e1fc5489ef23f.zip
Deleting initial Petri pointer
Diffstat (limited to 'fungi.cpp')
-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;
}