ole32: Initialise object variable in RunningObjectTableImpl_GetObject.

As per the rules for memory in RPC, the memory pointer to by object will 
be used during unmarshalling and previously it was uninitialised.
(Thanks to Dan Kegel and his Valgrind runs for reporting this.)
This commit is contained in:
Rob Shearman 2007-12-05 16:09:58 +00:00 committed by Alexandre Julliard
parent 5393b7a675
commit 3328ad6eb9
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ RunningObjectTableImpl_GetObject( IRunningObjectTable* iface,
{
RunningObjectTableImpl *This = (RunningObjectTableImpl *)iface;
MonikerComparisonData *moniker_data;
InterfaceData *object;
InterfaceData *object = NULL;
IrotCookie cookie;
HRESULT hr;
struct rot_entry *rot_entry;