Bug 1248757 followup - Release blob after assignment in DoGetBlobAsString on CLOSED TREE.

MozReview-Commit-ID: HOsMvsjBJKF
This commit is contained in:
Xidorn Quan 2016-02-17 11:57:59 +08:00
parent 874d794c71
commit a52559a701

View File

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