Commit 4ab06f35 authored by Laurent Aimar's avatar Laurent Aimar

Fixed memleak.

parent 914e2be1
...@@ -133,6 +133,7 @@ static inline void info_category_Delete(info_category_t *cat) ...@@ -133,6 +133,7 @@ static inline void info_category_Delete(info_category_t *cat)
for (int i = 0; i < cat->i_infos; i++) for (int i = 0; i < cat->i_infos; i++)
info_Delete(cat->pp_infos[i]); info_Delete(cat->pp_infos[i]);
free(cat->pp_infos); free(cat->pp_infos);
free(cat->psz_name);
free(cat); free(cat);
} }
......
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