init_paths: fix minor memory leak
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. Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
K
Kirill Batuzov committed
00a9cacaea9afa4cb72871d1067bb21f75dcc3bd
Parent: b0f9300
Committed by Michael Tokarev <mjt@tls.msk.ru>
on 4/28/2014, 4:55:32 AM