Update RKMem.c