Commit ac8d035f authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

ole32: Fix a use-after-free of the file moniker in the running object table tests.

parent 221e01ab
......@@ -588,7 +588,6 @@ static void test_ROT(void)
hr = IRunningObjectTable_Register(pROT, 0, (IUnknown*)&Test_ClassFactory,
pMoniker, &dwCookie);
ok_ole_success(hr, IRunningObjectTable_Register);
IMoniker_Release(pMoniker);
ok_more_than_one_lock();
......
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