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:
Robert O'Callahan 2013-08-27 12:39:58 +12:00
parent aca56a9de0
commit 393589c35c

View File

@ -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;