Compile fix

This commit is contained in:
Miguel de Icaza 1999-02-23 16:39:00 +00:00
parent 0f57dbd94e
commit 3e9b39c9e1
2 changed files with 6 additions and 0 deletions

View File

@ -937,6 +937,8 @@ is_mountable (char *filename, file_entry *fe, int *is_mounted, char **point)
if (point)
*point = p;
else
g_free (point);
*is_mounted = is_block_device_mounted (buffer);
@ -1081,6 +1083,7 @@ desktop_icon_info_open (DesktopIconInfo *dii)
if (launch)
new_panel_at (point);
g_free (point);
} else {
if (is_exe (fe->buf.st_mode) && if_link_is_exe (desktop_directory, fe))
my_system (EXECUTE_AS_SHELL, shell, filename);

View File

@ -127,6 +127,9 @@ gnome_file_property_dialog_finalize (GtkObject *object)
g_free (gfpd->desktop_url);
if (gfpd->caption)
g_free (gfpd->caption);
if (gfpd->mode_name)
g_free (gfpd->mode_name);
(* GTK_OBJECT_CLASS (parent_class)->finalize) (object);
}