summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/activeqt/control/qaxserverbase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/activeqt/control/qaxserverbase.cpp b/src/activeqt/control/qaxserverbase.cpp
index d11fbeb..8d0094f 100644
--- a/src/activeqt/control/qaxserverbase.cpp
+++ b/src/activeqt/control/qaxserverbase.cpp
@@ -702,6 +702,8 @@ public:
}
STDMETHOD(GetConnectionInterface)(IID *pIID)
{
+ if (!pIID)
+ return E_POINTER;
*pIID = iid;
return S_OK;
}