mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
ui/pixman: generalize shared_image_destroy
Learn to free memfd-allocated shared memory. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-ID: <20241008125028.1177932-10-marcandre.lureau@redhat.com>
This commit is contained in:
parent
c90204b654
commit
1bfb726112
4 changed files with 16 additions and 12 deletions
|
@ -97,7 +97,7 @@ void qemu_pixman_glyph_render(pixman_image_t *glyph,
|
|||
|
||||
void qemu_pixman_image_unref(pixman_image_t *image);
|
||||
|
||||
void qemu_pixman_win32_image_destroy(pixman_image_t *image, void *data);
|
||||
void qemu_pixman_shared_image_destroy(pixman_image_t *image, void *data);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(pixman_image_t, qemu_pixman_image_unref)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue