package daemon: Fix use of destroyed objects

Fixes #9957.
This commit is contained in:
Ingo Weinhold 2013-09-15 11:20:45 +02:00
parent 33dc65c7ff
commit 0af009d250

View File

@ -1041,7 +1041,8 @@ Volume::HandleCommitTransactionRequest(BMessage* message)
return;
// perform the request
CommitTransactionHandler handler(this, PackageSet(), PackageSet());
PackageSet dummy;
CommitTransactionHandler handler(this, dummy, dummy);
int32 error;
try {
handler.HandleRequest(message, &reply);