From 8880863d2196c49dfb92035b3b45a7c2e6ebd1c2 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sat, 5 Dec 2015 21:46:28 +1100 Subject: [PATCH] LinkedList: delete method; free the list too --- qcsrc/lib/linkedlist.qh | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/lib/linkedlist.qh b/qcsrc/lib/linkedlist.qh index 19d72ac27..b2aabd229 100644 --- a/qcsrc/lib/linkedlist.qh +++ b/qcsrc/lib/linkedlist.qh @@ -59,6 +59,7 @@ entity LL_POP(LinkedList this) dtor \ remove(it); \ } \ + remove(_ll); \ this = NULL; \ } \ while (0) -- 2.39.2