Skip to content

Commit

Permalink
ext-image-copy-capture: Release pointer object after use
Browse files Browse the repository at this point in the history
  • Loading branch information
any1 committed Sep 7, 2024
1 parent 0d7f5a1 commit 3cd4e7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ext-image-copy-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ static int ext_image_copy_capture_init_cursor_session(struct ext_image_copy_capt
self->cursor = ext_image_copy_capture_manager_v1_create_pointer_cursor_session(
ext_image_copy_capture_manager, source, pointer);
ext_image_capture_source_v1_destroy(source);
wl_pointer_release(pointer);
if (!self->cursor)
return -1;

Expand Down

0 comments on commit 3cd4e7f

Please sign in to comment.