Solving bug in randmem.c

getDetails function shouldn't be commented