cssprovider: Only free bytes when they exist

This commit is contained in:
Benjamin Otte 2018-02-05 18:58:54 +01:00
parent 6ff326a82f
commit 63f534f4b3

View File

@ -1792,7 +1792,8 @@ gtk_css_provider_load_internal (GtkCssProvider *css_provider,
gtk_css_provider_postprocess (css_provider);
}
g_bytes_unref (free_bytes);
if (free_bytes)
g_bytes_unref (free_bytes);
if (error)
{