diff options
Diffstat (limited to 'src/caja-application.c')
-rw-r--r-- | src/caja-application.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/caja-application.c b/src/caja-application.c index ed4eaca9..e158beab 100644 --- a/src/caja-application.c +++ b/src/caja-application.c @@ -2217,9 +2217,10 @@ caja_application_local_command_line (GApplication *application, g_free (concatOptions); } - for (idx = 0; idx < len; idx++) { - g_object_unref (files[idx]); - } + if (files) + for (idx = 0; idx < len; idx++) { + g_object_unref (files[idx]); + } g_free (files); out: |