safeguard sync
authorVolker Birk <vb@pep.foundation>
Tue, 23 Oct 2018 14:18:06 +0200
branchsync
changeset 3197734bc2d3a60
parent 318 70404936f18b
child 320 6dfe6757f4cd
safeguard
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Tue Oct 23 12:20:46 2018 +0200
     1.2 +++ b/CpEpEngine.cpp	Tue Oct 23 14:18:06 2018 +0200
     1.3 @@ -1361,7 +1361,7 @@
     1.4      new_callbacks->AddRef();
     1.5  
     1.6      // provide callbacks to sync
     1.7 -    LPSTREAM marshaled_callbacks;
     1.8 +    LPSTREAM marshaled_callbacks = nullptr;
     1.9      auto result = CoMarshalInterThreadInterfaceInStream(IID_IpEpEngineCallbacks, client_callbacks, &marshaled_callbacks);
    1.10      assert(SUCCEEDED(result));
    1.11      assert(marshaled_callbacks);