You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: libobs: portal shortcuts leak darray storage in set_shortcuts #464
LeakSanitizer and valgrind both report it from test_portal_shortcuts (run):
Direct leak of 1368 byte(s) in 21 object(s) allocated from:
#1 a_malloc libobs/util/bmem.c:55
#2 bmalloc bmem.c:108
#3 darray_ensure_capacity libobs/util/darray.h:107
#4 set_shortcuts libobs/obs-nix-portal-shortcuts.c:436
#5 sync_shortcuts obs-nix-portal-shortcuts.c:935
#6 portal_thread obs-nix-portal-shortcuts.c:1184
Direct leak of 222 byte(s) in 2 object(s) ...
The darray built in set_shortcuts (Wayland GlobalShortcuts portal) isn't freed on every path. valgrind reports 3 definite leaks. Found for #448/#449; test_portal_shortcuts under ASan reproduces it.
Activity
zackees commentedon Oct 13, 2026
Claiming: #464.
test: Free the background hotkey state in test_portal_shortcuts