summaryrefslogtreecommitdiffstats
path: root/linkedlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'linkedlist.c')
-rw-r--r--linkedlist.c3
1 files changed, 3 insertions, 0 deletions
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;
}