Merge pull request #82 from RickySu/memoryleak-fix

fix memory leak
This commit is contained in:
Yo-An Lin 2015-09-11 18:24:07 +08:00
commit eb2ff77e5c

View file

@ -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);
} }