Update pam_rfid.c

Memory fix