mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
gtk: fix memory leak in GTK clipboard confirmation window
This commit is contained in:
@ -55,6 +55,7 @@ pub fn create(
|
||||
fn destroy(self: *ClipboardConfirmation) void {
|
||||
const alloc = self.app.core_app.alloc;
|
||||
self.app.clipboard_confirmation_window = null;
|
||||
alloc.free(self.data);
|
||||
alloc.destroy(self);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user