forked from AuroraMiddleware/gtk
cssprovider: Only free bytes when they exist
This commit is contained in:
parent
6ff326a82f
commit
63f534f4b3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user