commit | 00a9cacaea9afa4cb72871d1067bb21f75dcc3bd | [log] [tgz] |
---|---|---|
author | Kirill Batuzov <batuzovk@ispras.ru> | Thu Apr 10 18:07:57 2014 +0400 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Mon Apr 28 08:55:32 2014 +0400 |
tree | a65af6c12013220d05f8442190658608f12f4f9e | |
parent | b0f9300ca389952aeaa4b96aa58bf3661e227420 [diff] |
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>