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
35356002
Commit
35356002
authored
Apr 15, 2005
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zero out an invalidated runningObjectTableInstance pointer.
parent
9c932e53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
moniker.c
dlls/ole32/moniker.c
+3
-2
No files found.
dlls/ole32/moniker.c
View file @
35356002
...
@@ -70,7 +70,7 @@ typedef struct RunningObjectTableImpl{
...
@@ -70,7 +70,7 @@ typedef struct RunningObjectTableImpl{
}
RunningObjectTableImpl
;
}
RunningObjectTableImpl
;
RunningObjectTableImpl
*
runningObjectTableInstance
=
0
;
static
RunningObjectTableImpl
*
runningObjectTableInstance
=
NULL
;
/* IRunningObjectTable prototype functions : */
/* IRunningObjectTable prototype functions : */
/* IUnknown functions*/
/* IUnknown functions*/
...
@@ -153,7 +153,7 @@ ULONG WINAPI RunningObjectTableImpl_AddRef(IRunningObjectTable* iface)
...
@@ -153,7 +153,7 @@ ULONG WINAPI RunningObjectTableImpl_AddRef(IRunningObjectTable* iface)
/***********************************************************************
/***********************************************************************
* RunningObjectTable_Initialize
* RunningObjectTable_Initialize
*/
*/
HRESULT
WINAPI
RunningObjectTableImpl_Destroy
()
HRESULT
WINAPI
RunningObjectTableImpl_Destroy
(
void
)
{
{
TRACE
(
"()
\n
"
);
TRACE
(
"()
\n
"
);
...
@@ -165,6 +165,7 @@ HRESULT WINAPI RunningObjectTableImpl_Destroy()
...
@@ -165,6 +165,7 @@ HRESULT WINAPI RunningObjectTableImpl_Destroy()
/* free the ROT structure memory */
/* free the ROT structure memory */
HeapFree
(
GetProcessHeap
(),
0
,
runningObjectTableInstance
);
HeapFree
(
GetProcessHeap
(),
0
,
runningObjectTableInstance
);
runningObjectTableInstance
=
NULL
;
return
S_OK
;
return
S_OK
;
}
}
...
...
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