Pass address of pointer, not value pf pointer
Merge pull request #6521 from wmtan/PassAddressOfPointer

Pass address of pointer, not value pf pointer