CpEpEngine.cpp
branchsync
changeset 317 2b66fad455d4
parent 315 215b74e73f78
child 319 7734bc2d3a60
     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)