forked from AuroraMiddleware/gtk
compare-render: Don't unref an invalid GFile
We already unref it when the g_file_make_directory_with_parents fails.
This commit is contained in:
parent
b062594ae6
commit
042f7d117f
@ -44,8 +44,8 @@ get_output_dir (void)
|
||||
}
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
g_object_unref (file);
|
||||
else
|
||||
g_object_unref (file);
|
||||
|
||||
return output_dir;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user