diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-23 16:24:39 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-23 16:24:39 +0000 |
commit | 4e7be9f904f70e4a2e3d598602d03cddeaef8a74 (patch) | |
tree | 07d89ce6694ddff306093d9e2291c46dadbdb1ca /src/being.cpp | |
parent | e0a956b4045ca09631d9a9a616ca675f2c1f4a78 (diff) | |
download | mana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.gz mana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.bz2 mana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.tar.xz mana-4e7be9f904f70e4a2e3d598602d03cddeaef8a74.zip |
Uninitialized variable and free/delete/delete[] mismatch fixes.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp index b9632424..67d8cd14 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -175,7 +175,7 @@ void Being::setPath(PATH_NODE *path) } PATH_NODE *pn = path; this->path = path->next; - free(pn); + delete pn; x = this->path->x; y = this->path->y; action = WALK; |