Document memory leak in as_search()
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 18 Feb 2011 18:10:28 +0000 (19:10 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 11 Apr 2011 20:29:13 +0000 (22:29 +0200)
src/lib/as/as_search.c

index 58606a23640ae851ca8d23d1ec892e827d344a0a..7245108575e3eca3ce3b14d26646f520728d25aa 100644 (file)
@@ -82,6 +82,7 @@ as_search(struct as_data *adp)
        fprintf(stderr, "\tExtending queue\n");
 #endif /* DEBUG */
        adp->head = head = as_extend(adp);
+       /* FIXME leaks when as_extend() returns NULL without adding to tried */
 
 #ifdef DEBUG
        fprintf(stderr, "queue:\n");