When prev is NULL, DL_DELETE will segfault on the item. This may happen when an item is to be deleted while DL_APPEND was not yet called on it.
This is the case where a list element was created without using the DL_ macros but its deletion was attempted using DL_DELETE. Technically its a usage violation. In utlist DL lists have special rules that the macros maintain. Added an assertion to make this fail more 'deterministically' than by segfault. Not sure if this will go into the final release depending on whether Windows supports the assert.h header.
Side note: I rarely use SourceForge so please address bugs directly to me for best response (firstname.lastname@example.org).
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.