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
ab636923
Commit
ab636923
authored
Dec 27, 2012
by
Marcus Meissner
Committed by
Alexandre Julliard
Dec 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Do not free name too early (Coverity).
parent
e0fa39b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
session.c
dlls/winhttp/session.c
+2
-1
No files found.
dlls/winhttp/session.c
View file @
ab636923
...
...
@@ -1247,7 +1247,6 @@ BOOL WINAPI WinHttpDetectAutoProxyConfigUrl( DWORD flags, LPWSTR *url )
strcpy
(
name
,
"wpad"
);
strcat
(
name
,
p
);
res
=
getaddrinfo
(
name
,
NULL
,
NULL
,
&
ai
);
heap_free
(
name
);
if
(
!
res
)
{
*
url
=
build_wpad_url
(
name
,
ai
);
...
...
@@ -1255,10 +1254,12 @@ BOOL WINAPI WinHttpDetectAutoProxyConfigUrl( DWORD flags, LPWSTR *url )
if
(
*
url
)
{
TRACE
(
"returning %s
\n
"
,
debugstr_w
(
*
url
));
heap_free
(
name
);
ret
=
TRUE
;
break
;
}
}
heap_free
(
name
);
p
++
;
}
heap_free
(
domain
);
...
...
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