safeguard sync
authorVolker Birk <vb@pep.foundation>
Mon, 22 Oct 2018 23:42:45 +0200
branchsync
changeset 3172b66fad455d4
parent 316 7d0a320b15a7
child 318 70404936f18b
safeguard
CpEpEngine.cpp
     1.1 --- a/CpEpEngine.cpp	Mon Oct 22 23:30:43 2018 +0200
     1.2 +++ b/CpEpEngine.cpp	Mon Oct 22 23:42:45 2018 +0200
     1.3 @@ -1378,7 +1378,7 @@
     1.4          return S_FALSE;
     1.5  
     1.6      for (auto p = sync_callbacks.begin(); p != sync_callbacks.end(); ++p) {
     1.7 -        if (p->pdata->unmarshaled == this->client_callbacks) {
     1.8 +        if (p->pdata && p->pdata->unmarshaled == this->client_callbacks) {
     1.9              if (p->pdata->marshaled)
    1.10                  p->pdata->marshaled->Release();
    1.11              if (p->pdata->unmarshaled)