diff --git a/engine/qclib/qcc_pr_comp.c b/engine/qclib/qcc_pr_comp.c index 92b99821e..61f8a5a38 100644 --- a/engine/qclib/qcc_pr_comp.c +++ b/engine/qclib/qcc_pr_comp.c @@ -2507,7 +2507,9 @@ QCC_def_t *QCC_PR_ParseFunctionCall (QCC_def_t *func) //warning, the func could } } + QCC_FreeTemp(func); QCC_LockActiveTemps(); //any temps before are likly to be used with the return value. + QCC_UnFreeTemp(func); //any temps referenced to build the parameters don't need to be locked.