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
ddfbe4ee
Commit
ddfbe4ee
authored
May 10, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
May 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss.drv: Memory allocation sizes fix.
parent
7b3ab797
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dscapture.c
dlls/wineoss.drv/dscapture.c
+2
-2
dsrender.c
dlls/wineoss.drv/dsrender.c
+2
-2
No files found.
dlls/wineoss.drv/dscapture.c
View file @
ddfbe4ee
...
@@ -1239,7 +1239,7 @@ static HRESULT WINAPI IDsCaptureDriverPropertySetImpl_Create(
...
@@ -1239,7 +1239,7 @@ static HRESULT WINAPI IDsCaptureDriverPropertySetImpl_Create(
IDsCaptureDriverPropertySetImpl
*
dscdps
;
IDsCaptureDriverPropertySetImpl
*
dscdps
;
TRACE
(
"(%p,%p)
\n
"
,
dscdb
,
pdscdps
);
TRACE
(
"(%p,%p)
\n
"
,
dscdb
,
pdscdps
);
dscdps
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
dscdps
));
dscdps
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
dscdps
));
if
(
dscdps
==
NULL
)
{
if
(
dscdps
==
NULL
)
{
WARN
(
"out of memory
\n
"
);
WARN
(
"out of memory
\n
"
);
return
DSERR_OUTOFMEMORY
;
return
DSERR_OUTOFMEMORY
;
...
@@ -1262,7 +1262,7 @@ static HRESULT WINAPI IDsCaptureDriverNotifyImpl_Create(
...
@@ -1262,7 +1262,7 @@ static HRESULT WINAPI IDsCaptureDriverNotifyImpl_Create(
IDsCaptureDriverNotifyImpl
*
dscdn
;
IDsCaptureDriverNotifyImpl
*
dscdn
;
TRACE
(
"(%p,%p)
\n
"
,
dscdb
,
pdscdn
);
TRACE
(
"(%p,%p)
\n
"
,
dscdb
,
pdscdn
);
dscdn
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
dscdn
));
dscdn
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
dscdn
));
if
(
dscdn
==
NULL
)
{
if
(
dscdn
==
NULL
)
{
WARN
(
"out of memory
\n
"
);
WARN
(
"out of memory
\n
"
);
return
DSERR_OUTOFMEMORY
;
return
DSERR_OUTOFMEMORY
;
...
...
dlls/wineoss.drv/dsrender.c
View file @
ddfbe4ee
...
@@ -893,7 +893,7 @@ static HRESULT WINAPI IDsDriverPropertySetImpl_Create(
...
@@ -893,7 +893,7 @@ static HRESULT WINAPI IDsDriverPropertySetImpl_Create(
IDsDriverPropertySetImpl
*
dsdps
;
IDsDriverPropertySetImpl
*
dsdps
;
TRACE
(
"(%p,%p)
\n
"
,
dsdb
,
pdsdps
);
TRACE
(
"(%p,%p)
\n
"
,
dsdb
,
pdsdps
);
dsdps
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
dsdps
));
dsdps
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
dsdps
));
if
(
dsdps
==
NULL
)
{
if
(
dsdps
==
NULL
)
{
WARN
(
"out of memory
\n
"
);
WARN
(
"out of memory
\n
"
);
return
DSERR_OUTOFMEMORY
;
return
DSERR_OUTOFMEMORY
;
...
@@ -916,7 +916,7 @@ static HRESULT WINAPI IDsDriverNotifyImpl_Create(
...
@@ -916,7 +916,7 @@ static HRESULT WINAPI IDsDriverNotifyImpl_Create(
IDsDriverNotifyImpl
*
dsdn
;
IDsDriverNotifyImpl
*
dsdn
;
TRACE
(
"(%p,%p)
\n
"
,
dsdb
,
pdsdn
);
TRACE
(
"(%p,%p)
\n
"
,
dsdb
,
pdsdn
);
dsdn
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
dsdn
));
dsdn
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
*
dsdn
));
if
(
dsdn
==
NULL
)
{
if
(
dsdn
==
NULL
)
{
WARN
(
"out of memory
\n
"
);
WARN
(
"out of memory
\n
"
);
...
...
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