diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a1fc9dd..0b18619f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - fixed issue with proxy authentication setting - fixed memory leak in sbiesvc - fixed issue with inconsistent WFP option application [#3900](https://github.com/sandboxie-plus/Sandboxie/issues/3900) +- fixed resource leak in buffer hashing function diff --git a/Sandboxie/core/drv/verify.c b/Sandboxie/core/drv/verify.c index 40c5a2b5..b61b8c04 100644 --- a/Sandboxie/core/drv/verify.c +++ b/Sandboxie/core/drv/verify.c @@ -314,9 +314,12 @@ NTSTATUS KphVerifyBuffer( } CleanupExit: + if (hash) ExFreePoolWithTag(hash, 'vhpK'); + MyFreeHash(&hashObj); + return status; } diff --git a/SandboxiePlus/SandMan/Models/SbieModel.cpp b/SandboxiePlus/SandMan/Models/SbieModel.cpp index 3c9729a4..8b755bf5 100644 --- a/SandboxiePlus/SandMan/Models/SbieModel.cpp +++ b/SandboxiePlus/SandMan/Models/SbieModel.cpp @@ -329,6 +329,7 @@ QList CSbieModel::Sync(const QMap& BoxList, cons { case eName: Value = pBox->GetName(); break; case eStatus: Value = pBox.objectCast()->GetStatusStr(); break; + case eTitle: Value = pBox->GetDesktop(); break; case eInfo: Value = pBox.objectCast()->IsEmptyCached() ? -2 : (bWatchSize ? pBox.objectCast()->GetSize() : 0); break; case ePath: Value = pBox->GetFileRoot(); break; }