Skip to content

Commit

Permalink
Fix: Free resources
Browse files Browse the repository at this point in the history
  • Loading branch information
cholonam committed Feb 16, 2021
1 parent 332048a commit ac8625e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sinetek-rtsx/SDDisk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ static void setIcon(IOService *sddiskIOService)
}

sddiskIOService->setProperty(kIOMediaIconKey, dictionary);

UTL_SAFE_RELEASE_NULL(resourceFile);
UTL_SAFE_RELEASE_NULL(identifier);
UTL_SAFE_RELEASE_NULL(dictionary);
}

} // namespace
Expand Down

0 comments on commit ac8625e

Please # to comment.