Message ID | CADArhcBEjbv-NUUvGJ5aDBe2_9JpKDt=2M0av9Ud8dpx9MwtLw@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/kernel/sys_oabi-compat.c b/arch/arm/kernel/sys_oabi-compat.c index 3e94811..e34f953 100644 --- a/arch/arm/kernel/sys_oabi-compat.c +++ b/arch/arm/kernel/sys_oabi-compat.c @@ -329,6 +329,7 @@ asmlinkage long sys_oabi_semtimedop(int semid, timeout = &local_timeout; } if (err) { + kfree(sops); err = -EFAULT; } else { mm_segment_t fs = get_fs();