mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1248757 followup - Release blob after assignment in DoGetBlobAsString on CLOSED TREE.
MozReview-Commit-ID: HOsMvsjBJKF
This commit is contained in:
parent
874d794c71
commit
a52559a701
@ -105,6 +105,7 @@ DoGetBlobAsString(T* aThis, uint32_t aIndex, V& aValue)
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
aValue.Assign(blob, size / sizeof(char_type));
|
||||
delete[] blob;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user