Commit 755a7922 authored by David King's avatar David King Committed by Cosimo Cecchi

application: Fix a pointer array memory leak
parent c9c55b62
......@@ -761,6 +761,8 @@ nautilus_application_handle_file_args (NautilusApplication *self,
file = g_file_new_for_path (g_get_home_dir ());
g_ptr_array_add (file_array, file);
} else {
g_ptr_array_unref (file_array);
/* No command line options or files, just activate the application */
nautilus_application_activate (G_APPLICATION (self));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment