mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Plug major memory leak
This commit is contained in:
@@ -651,7 +651,7 @@ extern GuiFont gui_mch_retain_font(GuiFont font);
|
||||
[drawData appendBytes:&gui.row length:sizeof(gui.row)];
|
||||
[drawData appendBytes:&gui.col length:sizeof(gui.col)];
|
||||
|
||||
[self queueMessage:BatchDrawMsgID data:[drawData copy]];
|
||||
[self queueMessage:BatchDrawMsgID data:[[drawData copy] autorelease]];
|
||||
[self clearDrawData];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user