diff options
| author | Sebastian Wick <sebastian.wick@redhat.com> | 2025-05-20 21:39:45 +0200 |
|---|---|---|
| committer | Sebastian Wick <sebastian.wick@redhat.com> | 2025-05-20 21:50:09 +0200 |
| commit | af453f876e44f4cb990acc92b50d130e6efed667 (patch) | |
| tree | 80f21f9975830a7d7a4bb6af76bcda47402df2e1 /src/embed.py | |
| parent | shm: Linkify wl_shm_pool_unref in the ref_pool documentation (diff) | |
| download | wayland-af453f876e44f4cb990acc92b50d130e6efed667.tar wayland-af453f876e44f4cb990acc92b50d130e6efed667.tar.gz wayland-af453f876e44f4cb990acc92b50d130e6efed667.tar.bz2 wayland-af453f876e44f4cb990acc92b50d130e6efed667.tar.lz wayland-af453f876e44f4cb990acc92b50d130e6efed667.tar.xz wayland-af453f876e44f4cb990acc92b50d130e6efed667.tar.zst wayland-af453f876e44f4cb990acc92b50d130e6efed667.zip | |
shm: Remove refcount check which cannot be triggered
If the pool refcount reaches zero, it is freed, so accessing its members
is UB which ASan would catch.
Also simplify check for negative refcounts.
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
Diffstat (limited to 'src/embed.py')
0 files changed, 0 insertions, 0 deletions
