+2004-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libltdl/slist.c (slist_cons): Don't leak the tail of a list.
+
2004-09-03 Albert Chin-A-Young <china@thewrittenword.com>
* m4/libtool.m4 (_LT_ENABLE_LOCK): Reformatted.
return slist;
}
+ assert (!item->next);
+
item->next = slist;
return item;
}
/* Destructively reverse the order of items in SLIST. The value of SLIST
is undefined after calling this function.
- CAVEAT: You must stare the result of this function, or you might not
+ CAVEAT: You must store the result of this function, or you might not
be able to get all the items except the first one back again.
e.g. slist = slist_reverse (slist); */