Skip to content

Commit

Permalink
Bug 1654626 - fix crash in [@ mozilla::storage::Connection::ExecuteAs…
Browse files Browse the repository at this point in the history
…ync]. r=mak

Differential Revision: https://phabricator.services.mozilla.com/D84589
  • Loading branch information
mkmelin committed Jul 23, 2020
1 parent a5e9517 commit 43eecfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/mozStorageConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1815,6 +1815,7 @@ Connection::ExecuteAsync(
for (uint32_t i = 0; i < aStatements.Length(); i++) {
nsCOMPtr<StorageBaseStatementInternal> stmt =
do_QueryInterface(aStatements[i]);
NS_ENSURE_STATE(stmt);

// Obtain our StatementData.
StatementData data;
Expand Down

0 comments on commit 43eecfc

Please sign in to comment.