diff --git a/glib/gerror.c b/glib/gerror.c index 5fa489013..5199bdd60 100644 --- a/glib/gerror.c +++ b/glib/gerror.c @@ -1012,8 +1012,7 @@ g_propagate_error (GError **dest, if (dest == NULL) { - if (src) - g_error_free (src); + g_error_free (src); return; } else