fix memory leak
This commit is contained in:
parent
d9a7deab9a
commit
292b082c78
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ void str_array_free(str_array *l) {
|
||||||
zfree(l->tokens[i]);
|
zfree(l->tokens[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
zfree(l->tokens);
|
||||||
zfree(l);
|
zfree(l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue