Fix memory leak in GListTruncate
authorteodor <teodor>
Thu, 2 Oct 2008 14:33:03 +0000 (14:33 +0000)
committerteodor <teodor>
Thu, 2 Oct 2008 14:33:03 +0000 (14:33 +0000)
glist.c

diff --git a/glist.c b/glist.c
index 9e79963..ba9fc9d 100644 (file)
--- a/glist.c
+++ b/glist.c
@@ -285,7 +285,6 @@ GListTruncate(GList *l, int n) {
                GListFreeCell(l, c);
        }
 
-       checkGList(l);
        return l;
 }