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
d138a1e4
Commit
d138a1e4
authored
Aug 31, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Free url in error paths (Coverity).
parent
b084d7a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+6
-2
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
d138a1e4
...
@@ -2533,12 +2533,16 @@ static RPC_STATUS rpcrt4_ncacn_http_open(RpcConnection* Connection)
...
@@ -2533,12 +2533,16 @@ static RPC_STATUS rpcrt4_ncacn_http_open(RpcConnection* Connection)
return
RPC_S_SERVER_UNAVAILABLE
;
return
RPC_S_SERVER_UNAVAILABLE
;
}
}
status
=
insert_authorization_header
(
httpc
->
in_request
,
httpc
->
common
.
QOS
);
status
=
insert_authorization_header
(
httpc
->
in_request
,
httpc
->
common
.
QOS
);
if
(
status
!=
RPC_S_OK
)
if
(
status
!=
RPC_S_OK
)
{
HeapFree
(
GetProcessHeap
(),
0
,
url
);
return
status
;
return
status
;
}
status
=
insert_cookie_header
(
httpc
->
in_request
,
Connection
->
CookieAuth
);
status
=
insert_cookie_header
(
httpc
->
in_request
,
Connection
->
CookieAuth
);
if
(
status
!=
RPC_S_OK
)
if
(
status
!=
RPC_S_OK
)
{
HeapFree
(
GetProcessHeap
(),
0
,
url
);
return
status
;
return
status
;
}
httpc
->
out_request
=
HttpOpenRequestW
(
httpc
->
session
,
wszVerbOut
,
url
,
NULL
,
NULL
,
wszAcceptTypes
,
httpc
->
out_request
=
HttpOpenRequestW
(
httpc
->
session
,
wszVerbOut
,
url
,
NULL
,
NULL
,
wszAcceptTypes
,
flags
,
(
DWORD_PTR
)
httpc
->
async_data
);
flags
,
(
DWORD_PTR
)
httpc
->
async_data
);
...
...
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