forked from AuroraMiddleware/gtk
gsk: Fix memory leak in gsk_render_node_write_to_file()
This commit is contained in:
parent
2750bb5e87
commit
23d10df6c6
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user