fixed minor leak
authorewt <devnull@localhost>
Fri, 26 Jul 1996 19:24:02 +0000 (19:24 +0000)
committerewt <devnull@localhost>
Fri, 26 Jul 1996 19:24:02 +0000 (19:24 +0000)
CVS patchset: 929
CVS date: 1996/07/26 19:24:02

lib/depends.c

index 25b2e38..02ead5e 100644 (file)
@@ -91,7 +91,7 @@ static void alFree(struct availableList * al) {
            free(al->list[i].provides);
      }
 
-    if (al->size) free(al->list);
+    if (al->alloced) free(al->list);
     alFreeIndex(al);
 }