summaryrefslogtreecommitdiff
path: root/src/modules/modPipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/modPipe.c')
-rw-r--r--src/modules/modPipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c
index d07ec37..45e2d3a 100644
--- a/src/modules/modPipe.c
+++ b/src/modules/modPipe.c
@@ -329,7 +329,10 @@ static void recvMsg(char *msg)
static int destroy()
{
space_destroy_with_item(spacePipe, destroyPipe);
+ spacePipe = NULL;
+
list_destroy(listPipe);
+ listPipe = NULL;
return 0;
}