gsk: Fix memory leak in gsk_render_node_write_to_file()

This commit is contained in:
Garrett Regier 2016-12-23 04:08:43 -08:00
parent 2750bb5e87
commit 23d10df6c6

View File

@ -367,6 +367,7 @@ gsk_render_node_write_to_file (GskRenderNode *node,
g_bytes_get_data (bytes, NULL), g_bytes_get_data (bytes, NULL),
g_bytes_get_size (bytes), g_bytes_get_size (bytes),
error); error);
g_bytes_unref (bytes);
return result; return result;
} }