Skip to content
Snippets Groups Projects
Commit e517d6bd authored by rswindell's avatar rswindell
Browse files

listAddNode allows a NULL data pointer (e.g. for tagged nodes).

parent c5efc3dc
No related branches found
No related tags found
No related merge requests found
......@@ -553,7 +553,7 @@ list_node_t* DLLCALL listAddNode(link_list_t* list, void* data, list_node_tag_t
{
list_node_t* node;
if(list==NULL || data==NULL)
if(list==NULL)
return(NULL);
if((node=(list_node_t*)malloc(sizeof(list_node_t)))==NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment