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
6d989fef
Commit
6d989fef
authored
Dec 05, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/treeview: Free items pointer array and root item on control destruction.
Two issues here: item pointers array wasn't freed, root item data wasn't freed. Found by Valgrind.
parent
59d250c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
treeview.c
dlls/comctl32/treeview.c
+4
-0
No files found.
dlls/comctl32/treeview.c
View file @
6d989fef
...
@@ -5064,7 +5064,11 @@ TREEVIEW_Destroy(TREEVIEW_INFO *infoPtr)
...
@@ -5064,7 +5064,11 @@ TREEVIEW_Destroy(TREEVIEW_INFO *infoPtr)
{
{
TRACE
(
"
\n
"
);
TRACE
(
"
\n
"
);
/* free item data */
TREEVIEW_RemoveTree
(
infoPtr
);
TREEVIEW_RemoveTree
(
infoPtr
);
/* root isn't freed with other items */
TREEVIEW_FreeItem
(
infoPtr
,
infoPtr
->
root
);
DPA_Destroy
(
infoPtr
->
items
);
/* tool tip is automatically destroyed: we are its owner */
/* tool tip is automatically destroyed: we are its owner */
...
...
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