mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1193022 - clean up reference-counting in storage/; r=mak
This commit is contained in:
parent
01f693c138
commit
c9a9b22e7b
@ -191,7 +191,7 @@ AsyncExecuteStatements::execute(StatementDataArray &aStatements,
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// Return it as the pending statement object and track it.
|
||||
NS_ADDREF(*_stmt = event);
|
||||
event.forget(_stmt);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -1583,7 +1583,7 @@ Connection::ExecuteSimpleSQLAsync(const nsACString &aSQLStatement,
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_ADDREF(*_handle = pendingStatement);
|
||||
pendingStatement.forget(_handle);
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user