Skip to content

Commit 584d0e7

Browse files
committed
Updater: Fix freeing of shared icons
1 parent cb24ede commit 584d0e7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

plugins/Updater/updater.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,6 @@ VOID FreeUpdateContext(
6868
PhClearReference(&Context->SetupFilePath);
6969
PhClearReference(&Context->SetupFileDownloadUrl);
7070

71-
if (Context->IconSmallHandle)
72-
{
73-
DeleteObject(Context->IconSmallHandle);
74-
Context->IconSmallHandle = NULL;
75-
}
76-
77-
if (Context->IconLargeHandle)
78-
{
79-
DestroyIcon(Context->IconLargeHandle);
80-
Context->IconLargeHandle = NULL;
81-
}
82-
8371
PhFree(Context);
8472
}
8573

0 commit comments

Comments
 (0)