issue #3401: change getContactData function return value back to pointer.