Commit 3328ad6e authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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.)
parent 5393b7a6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment