diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-04-05 14:19:56 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-04-05 14:19:56 -0700 |
commit | 6b361c028b5ad931b61df86fae570f3ef9f41c15 (patch) | |
tree | d1ff8b92076ae40f1ff17cb283f9c37933ca0b72 /src | |
parent | c9b3d016681d81aff32c74cdad75151bd538e6ab (diff) |
Coverity #1086: Double free of pointer "*listenObjsRet"
Same bug, different function.
Diffstat (limited to 'src')
-rw-r--r-- | src/listenwk.c | 2 |
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 { |