[PATCH 2/2] ION handle already destroyed in ion_free.

From: Shailendra Verma
Date: Sat Jan 17 2015 - 01:35:04 EST



Signed-off-by: Shailendra Verma <shailendra.capricorn@xxxxxxxxx>
---
drivers/staging/android/ion/ion.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 9e56d32..0d2b9a3 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -1279,7 +1279,6 @@ static long ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
if (IS_ERR(handle))
return PTR_ERR(handle);
ion_free(client, handle);
- ion_handle_put(handle);
break;
}
case ION_IOC_SHARE:
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/