Fix j7 race in memFree.