diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | linkedlist.c | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ --------------------------------------------------------------------------- Version 2.0.0 (rgerhards), 2007-12-?? - small doc fix for $IncludeConfig +- fixed a bug in llDestroy() --------------------------------------------------------------------------- Version 1.21.0 (rgerhards), 2007-12-19 - GSS-API support for syslog/TCP connections was added. Thanks to diff --git a/linkedlist.c b/linkedlist.c index bea2cb90..27d6db36 100644 --- a/linkedlist.c +++ b/linkedlist.c @@ -104,6 +104,9 @@ rsRetVal llDestroy(linkedList_t *pThis) llDestroyElt(pThis, pEltPrev); } + pThis->pRoot = NULL; + pThis->pLast = NULL; + return iRet; } |