summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-04-05 14:19:56 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-04-05 14:19:56 -0700
commit6b361c028b5ad931b61df86fae570f3ef9f41c15 (patch)
treed1ff8b92076ae40f1ff17cb283f9c37933ca0b72
parentc9b3d016681d81aff32c74cdad75151bd538e6ab (diff)
Coverity #1086: Double free of pointer "*listenObjsRet"
Same bug, different function.
-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
{