Update homeid_auth.c

Memory fix