diff --git a/list.c b/list.c index 0c0f3676e..bdea0f6ee 100644 --- a/list.c +++ b/list.c @@ -216,6 +216,7 @@ void vListInsert( List_t * const pxList, UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove ) { + configASSERT( pxItemToRemove->pxContainer != NULL ); /* The list item knows which list it is in. Obtain the list from the list * item. */ List_t * const pxList = pxItemToRemove->pxContainer;