10.04.2014 18:07, Kirill Batuzov wrote:
> Fields "name" (created with strdup in new_entry) and "pathname"
> (created with g_strdup_printf in new_entry) of pathelem struct should
> be freed before the whole struct is.

Applied to -trivial, thanks!

The fun thing here is that the code _looks_ correct.  I think
it might be better to create proper API for destroying path
elements - new_entry() and its destroying counterpart, free_entry().

/mjt

Reply via email to