Skip to content

Commit

Permalink
Bug 1248757 followup - Release blob after assignment in DoGetBlobAsSt…
Browse files Browse the repository at this point in the history
…ring on CLOSED TREE.

MozReview-Commit-ID: HOsMvsjBJKF

--HG--
extra : source : cac755e67ad9739d72f78a184f20bafd845e514f
  • Loading branch information
upsuper committed Feb 17, 2016
1 parent 585b41e commit 2ad2ca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/mozStoragePrivateHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2ad2ca1

Please sign in to comment.