summaryrefslogtreecommitdiff
path: root/ext/com/conversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/com/conversion.c')
-rw-r--r--ext/com/conversion.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/com/conversion.c b/ext/com/conversion.c
index cd05ccdb23..0f9bcbd32b 100644
--- a/ext/com/conversion.c
+++ b/ext/com/conversion.c
@@ -758,6 +758,8 @@ PHPAPI int php_variant_to_pval(VARIANT *var_arg, pval *pval_arg, int persistent,
}
else
{
+ TSRMLS_FETCH();
+
ALLOC_COM(obj);
php_COM_set(obj, V_DISPATCH(var_arg), TRUE);