Re: fusion: use HeapAlloc, not strdup, to avoid malloc/HeapFree mismatch; don't test variable if not set