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
6ef74bc9
Commit
6ef74bc9
authored
Feb 02, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Fix a typo.
Should fix Coverity CID-348 (dereference before NULL check).
parent
2bb44198
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pin.c
dlls/quartz/pin.c
+1
-1
No files found.
dlls/quartz/pin.c
View file @
6ef74bc9
...
@@ -338,7 +338,7 @@ HRESULT WINAPI IPinImpl_QueryId(IPin * iface, LPWSTR * Id)
...
@@ -338,7 +338,7 @@ HRESULT WINAPI IPinImpl_QueryId(IPin * iface, LPWSTR * Id)
TRACE
(
"(%p/%p)->(%p)
\n
"
,
This
,
iface
,
Id
);
TRACE
(
"(%p/%p)->(%p)
\n
"
,
This
,
iface
,
Id
);
*
Id
=
CoTaskMemAlloc
((
strlenW
(
This
->
pinInfo
.
achName
)
+
1
)
*
sizeof
(
WCHAR
));
*
Id
=
CoTaskMemAlloc
((
strlenW
(
This
->
pinInfo
.
achName
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
!
Id
)
if
(
!
*
Id
)
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
strcpyW
(
*
Id
,
This
->
pinInfo
.
achName
);
strcpyW
(
*
Id
,
This
->
pinInfo
.
achName
);
...
...
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