Because it's not freed.
Also, why not just use the value passed to the function instead? You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/478
-- Commit Summary --
* treebrowser: Free `renderers` in `on_treeview_renamed()`.
-- File Changes --
M treebrowser/src/treebrowser.c (1)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/478.patch https://github.com/geany/geany-plugins/pull/478.diff
Wowow, this plugins uses GTK internal API!? `_gtk_cell_layout_get_cells()` is not supposed to be used outside GTK itself, it's pure luck it didn't break sooner.
And good question why not use the arg (if it's the correct one), or use a custom variable.
Merged #478.
github-comments@lists.geany.org