gtk/css: data_url_path fix leak in error path

Fixes 7900032f30
This commit is contained in:
Pablo Correa Gómez 2022-08-12 01:33:39 +02:00
parent 6eb3548192
commit 97d3363360
No known key found for this signature in database
GPG Key ID: 7A342565FF635F79

View File

@ -165,9 +165,10 @@ gtk_css_data_url_parse (const char *url,
g_propagate_error (error, local_error);
g_free (charset);
g_free (data);
return NULL;
g_free (mimetype);
return NULL;
}
bdata = data;
bsize = written;