Merge pull request #10842 from akallabeth/x11-clip-leak

[client,x11] fix clipboard leak on shutdown
This commit is contained in:
akallabeth 2024-11-11 15:41:48 +01:00 committed by GitHub
commit 148549165d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2642,6 +2642,7 @@ void xf_clipboard_free(xfClipboard* clipboard)
xf_clipboard_formats_free(clipboard);
HashTable_Free(clipboard->cachedRawData);
HashTable_Free(clipboard->cachedData);
requested_format_free(&clipboard->requestedFormat);
free(clipboard->respond);
free(clipboard->incr_data);
free(clipboard);