summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/listenwk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/listenwk.c b/src/listenwk.c
index f97aa44..26bb6e0 100644
--- a/src/listenwk.c
+++ b/src/listenwk.c
@@ -127,8 +127,10 @@ char *errorStringRet;
free ((char *) (*listenObjsRet)[j]);
free ((char *) *listenObjsRet);
+ *listenObjsRet = NULL;
status = 0;
+ break;
}
else
{