1 2008-09-20 Matthias Clasen
3 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
5 --- branches/glib-2-18/gio/gdesktopappinfo.c 2008/09/21 00:00:18 7520
6 +++ branches/glib-2-18/gio/gdesktopappinfo.c 2008/09/21 00:04:37 7521
14 file = g_file_new_for_uri (uri);
15 path = g_file_get_path (file);
20 - result = g_shell_quote (g_path_get_dirname (path));
22 + name = g_path_get_dirname (path);
23 + result = g_shell_quote (name);
30 - result = g_shell_quote (g_path_get_basename (path));
32 + name = g_path_get_basename (path);
33 + result = g_shell_quote (name);