* ks_free: The 'p' argument should have type unsigned char* to match the type of the 'encoding' argument to ks_asm