mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-16 22:02:15 +02:00
ncm client: add missing nullptr check to SubmissionPackageInstallTask destructor
This commit is contained in:
parent
ec2cc2fcf8
commit
0f3a315c20
@ -52,7 +52,9 @@ namespace ams::ncm {
|
||||
};
|
||||
|
||||
SubmissionPackageInstallTask::~SubmissionPackageInstallTask() {
|
||||
delete this->impl;
|
||||
if (this->impl != nullptr) {
|
||||
delete this->impl;
|
||||
}
|
||||
}
|
||||
|
||||
Result SubmissionPackageInstallTask::Initialize(fs::FileHandle handle, StorageId storage_id, void *buffer, size_t buffer_size, bool ignore_ticket) {
|
||||
|
Loading…
Reference in New Issue
Block a user