Derp fix for the memory leak

Change-Id: I6b23709a8388e99076a75c43fbca10ff18dfd5b1
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>