Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
260cab42
Commit
260cab42
authored
Mar 26, 2000
by
Uwe Bonnes
Committed by
Alexandre Julliard
Mar 26, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SHChangeNotify[A|W]: free only items we allocated.
parent
e2905ea4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
changenotify.c
dlls/shell32/changenotify.c
+4
-4
No files found.
dlls/shell32/changenotify.c
View file @
260cab42
...
...
@@ -222,8 +222,8 @@ void WINAPI SHChangeNotifyW (LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVO
if
(
uFlags
&
SHCNF_PATHA
)
{
SHFree
(
pidl1
);
SHFree
(
pidl2
);
if
(
pidl1
)
SHFree
(
pidl1
);
if
(
pidl2
)
SHFree
(
pidl2
);
}
}
...
...
@@ -269,8 +269,8 @@ void WINAPI SHChangeNotifyA (LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVO
/* if we allocated it, free it */
if
(
uFlags
&
SHCNF_PATHA
)
{
SHFree
(
Pidls
[
0
]);
SHFree
(
Pidls
[
1
]);
if
(
Pidls
[
0
])
SHFree
(
Pidls
[
0
]);
if
(
Pidls
[
1
])
SHFree
(
Pidls
[
1
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment