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
8b55e4a6
Commit
8b55e4a6
authored
Mar 23, 2006
by
Rein Klazes
Committed by
Alexandre Julliard
Mar 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Do not free LPSTR_TEXTCALLBACK tooltip texts.
parent
213cee62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
tooltips.c
dlls/comctl32/tooltips.c
+8
-4
No files found.
dlls/comctl32/tooltips.c
View file @
8b55e4a6
...
...
@@ -2025,7 +2025,8 @@ TOOLTIPS_SetToolInfoA (HWND hwnd, WPARAM wParam, LPARAM lParam)
else
{
if
(
(
toolPtr
->
lpszText
)
&&
!
IS_INTRESOURCE
(
toolPtr
->
lpszText
)
)
{
Free
(
toolPtr
->
lpszText
);
if
(
toolPtr
->
lpszText
!=
LPSTR_TEXTCALLBACKW
)
Free
(
toolPtr
->
lpszText
);
toolPtr
->
lpszText
=
NULL
;
}
if
(
lpToolInfo
->
lpszText
)
{
...
...
@@ -2082,7 +2083,8 @@ TOOLTIPS_SetToolInfoW (HWND hwnd, WPARAM wParam, LPARAM lParam)
else
{
if
(
(
toolPtr
->
lpszText
)
&&
!
IS_INTRESOURCE
(
toolPtr
->
lpszText
)
)
{
Free
(
toolPtr
->
lpszText
);
if
(
toolPtr
->
lpszText
!=
LPSTR_TEXTCALLBACKW
)
Free
(
toolPtr
->
lpszText
);
toolPtr
->
lpszText
=
NULL
;
}
if
(
lpToolInfo
->
lpszText
)
{
...
...
@@ -2208,7 +2210,8 @@ TOOLTIPS_UpdateTipTextA (HWND hwnd, WPARAM wParam, LPARAM lParam)
else
{
if
(
(
toolPtr
->
lpszText
)
&&
!
IS_INTRESOURCE
(
toolPtr
->
lpszText
)
)
{
Free
(
toolPtr
->
lpszText
);
if
(
toolPtr
->
lpszText
!=
LPSTR_TEXTCALLBACKW
)
Free
(
toolPtr
->
lpszText
);
toolPtr
->
lpszText
=
NULL
;
}
if
(
lpToolInfo
->
lpszText
)
{
...
...
@@ -2265,7 +2268,8 @@ TOOLTIPS_UpdateTipTextW (HWND hwnd, WPARAM wParam, LPARAM lParam)
else
{
if
(
(
toolPtr
->
lpszText
)
&&
!
IS_INTRESOURCE
(
toolPtr
->
lpszText
)
)
{
Free
(
toolPtr
->
lpszText
);
if
(
toolPtr
->
lpszText
!=
LPSTR_TEXTCALLBACKW
)
Free
(
toolPtr
->
lpszText
);
toolPtr
->
lpszText
=
NULL
;
}
if
(
lpToolInfo
->
lpszText
)
{
...
...
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