mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 907619. Ensure GtkSelectionData is freed. r=karlt
--HG-- extra : transplant_source : 0%9F%0E%DA%60%B1%B0%02%88%82%25.e%FBGE%A2%7BU%0A
This commit is contained in:
parent
aca56a9de0
commit
393589c35c
@ -366,6 +366,7 @@ nsClipboard::GetData(nsITransferable *aTransferable, int32_t aWhichClipboard)
|
||||
break;
|
||||
memcpy(data, clipboardData, length);
|
||||
}
|
||||
gtk_selection_data_free(selectionData);
|
||||
foundData = true;
|
||||
foundFlavor = flavorStr;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user