summaryrefslogtreecommitdiff
path: root/modules/modWall.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/modWall.c')
-rwxr-xr-xmodules/modWall.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/modWall.c b/modules/modWall.c
index 49140b4..5a83fbd 100755
--- a/modules/modWall.c
+++ b/modules/modWall.c
@@ -312,8 +312,9 @@ void cmd(char *line)
int destroy()
{
- destroySpace(spaceWall, destroyWall);
- destroyList(listWall);
+ destroySpace(spaceWall);
+ destroySpace(spaceImgWall);
+ destroyListItem(listWall, destroyWall);
return 0;
}