diff options
| -rw-r--r-- | src/modules/modWall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/modWall.c b/src/modules/modWall.c index fecd80b..ac8e715 100644 --- a/src/modules/modWall.c +++ b/src/modules/modWall.c @@ -351,12 +351,12 @@ static int destroy() space_destroy_with_item(spaceWall, destroyWall); #ifndef PUBLIC_SERVER space_destroy(spaceImgWall); + spaceImgWall = NULL; #endif list_destroy(listWall); listWall = NULL; - spaceWall = 0; - spaceImgWall = 0; + spaceWall = NULL; return 0; } |