Commit d17dc311 authored by Ell's avatar Ell

libgimp: fix segfault in gimp_procedure_config_load_default() with NULL error

parent 1e9bf288
Pipeline #120186 failed with stages
in 14 minutes and 26 seconds
......@@ -454,7 +454,7 @@ gimp_procedure_config_load_default (GimpProcedureConfig *config,
file,
NULL, error);
if (! success && (*error)->code == GIMP_CONFIG_ERROR_OPEN_ENOENT)
if (! success && error && (*error)->code == GIMP_CONFIG_ERROR_OPEN_ENOENT)
{
g_clear_error (error);
}
......
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