2007-07-20 [colin] 2.10.0cvs49
[claws.git] / src / main.c
index 9eec413f888fb8c9da1bfe220964b2902d32e119..66835aa39da5ec5766c0168a0dd63ab69570574d 100644 (file)
@@ -1099,6 +1099,8 @@ int main(int argc, char *argv[])
                    || strcmp(mount_path, prefs_common.data_root)) {
                        alertpanel_error(_("Claws Mail can not start without its data volume (%s)."), 
                                prefs_common.data_root);
+                       g_free(mount_path);
+                       gnome_vfs_volume_unref(vol);
                        exit_claws(mainwin);
                        exit(1);
                }