Fix memory leak in GListTruncate
[tedtools.git] / 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;
 }