diff options
Diffstat (limited to 'ext/com/dispatch.c')
| -rw-r--r-- | ext/com/dispatch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/com/dispatch.c b/ext/com/dispatch.c index 8d775a8662..23c3b0dd91 100644 --- a/ext/com/dispatch.c +++ b/ext/com/dispatch.c @@ -280,6 +280,7 @@ static HRESULT STDMETHODCALLTYPE disp_invokeex( ZVAL_NULL(zarg); } } else { + // arg can't be an idispatch, so we don't care for the implicit AddRef() call here if (FAILURE == php_variant_to_pval(arg, zarg, codepage TSRMLS_CC)) { trace("failed to convert arg %d to zval\n", i); ZVAL_NULL(zarg); |
