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

Bugfix (segfault) in strListFree().

parent 10193126
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,8 @@ void strListFree(char*** list)
if(*list!=NULL) {
for(i=0;*list[i]!=NULL;i++)
free(*list[i]);
for(i=0;(*list)[i]!=NULL;i++)
free((*list)[i]);
free(*list);
}
......
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