xkb: free the filters
Direct leak of 960 byte(s) in 6 object(s) allocated from: #0 0x7f00a4ed8cc7 in calloc (/lib64/libasan.so.8+0xd8cc7) (BuildId: 6f17f87dc4c1aa9f9dde7c4856604c3a25ba4872) #1 0x994944 in _XkbNextFreeFilter ../xkb/xkbActions.c:1142 #2 0x9971b3 in SrvXkbLatchModifiers ../xkb/xkbActions.c:1452 #3 0x41dec7 in keyboard_handle_modifiers ../hw/xwayland/xwayland-input.c:1211 #4 0x7f00a4145055 in ffi_call_unix64 (/lib64/libffi.so.8+0x9055) (BuildId: 308041eea4a8d89d9265d3c24b7261dfbe44a61e) Acked-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
parent
45009fb7f5
commit
073b90ea56
|
@ -724,6 +724,7 @@ XkbFreeInfo(XkbSrvInfoPtr xkbi)
|
|||
XkbFreeKeyboard(xkbi->desc, XkbAllComponentsMask, TRUE);
|
||||
xkbi->desc = NULL;
|
||||
}
|
||||
free(xkbi->filters);
|
||||
free(xkbi);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue