Commit b87d76b0 authored by rswindell's avatar rswindell
Browse files

Bugfix (segfault) in strListFree().

parent 10193126
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment