This patch fixes a memory leak in ppp_ioctl, when copy_from_user fails 'code' isn't freed. Patch applies to both 2.4 and 2.5. Best regards, Patrick