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
d275a4d3
Commit
d275a4d3
authored
Oct 23, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix a memory leak.
parent
da5a398c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
source.c
programs/winedbg/source.c
+2
-2
No files found.
programs/winedbg/source.c
View file @
d275a4d3
...
...
@@ -70,9 +70,9 @@ void source_add_path(const char* path)
size
=
strlen
(
path
)
+
1
;
if
(
search_path
)
{
unsigned
pos
=
HeapSize
(
GetProcessHeap
(),
0
,
search_path
)
;
unsigned
pos
=
strlen
(
search_path
)
+
1
;
new
=
HeapReAlloc
(
GetProcessHeap
(),
0
,
search_path
,
pos
+
size
);
if
(
!
new
||
!
pos
)
return
;
if
(
!
new
)
return
;
new
[
pos
-
1
]
=
';'
;
strcpy
(
&
new
[
pos
],
path
);
}
...
...
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