Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
72a7aed5
Commit
72a7aed5
authored
Jan 29, 2009
by
Diaa Sami
Committed by
Alexandre Julliard
Jan 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix a mem leak in SHBrowseForFolder.
parent
8ca2aa3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
brsfolder.c
dlls/shell32/brsfolder.c
+14
-0
No files found.
dlls/shell32/brsfolder.c
View file @
72a7aed5
...
...
@@ -801,6 +801,17 @@ static BOOL BrsFolder_OnWindowPosChanging(browse_info *info, WINDOWPOS *pos)
return
0
;
}
static
INT
BrsFolder_OnDestroy
(
browse_info
*
info
)
{
if
(
info
->
layout
)
{
SHFree
(
info
->
layout
);
info
->
layout
=
NULL
;
}
return
0
;
}
/*************************************************************************
* BrsFolderDlgProc32 (not an exported API function)
*/
...
...
@@ -860,6 +871,9 @@ static INT_PTR CALLBACK BrsFolderDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
case
BFFM_SETEXPANDED
:
/* unicode only */
return
BrsFolder_OnSetExpanded
(
info
,
(
LPVOID
)
lParam
,
(
BOOL
)
wParam
,
NULL
);
case
WM_DESTROY
:
return
BrsFolder_OnDestroy
(
info
);
}
return
FALSE
;
}
...
...
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