Fix memory corruption in the fbiprobe module 63/195463/1
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 13 Dec 2018 19:46:15 +0000 (22:46 +0300)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 13 Dec 2018 19:55:40 +0000 (22:55 +0300)
Change-Id: I78ff0c4f425d243477181128e7e5bf6a1095e055
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
modules/fbiprobe/fbiprobe.c

index 42f5223cd69025fc6a05c05e27f2b9ca0242f42c..fc07fba171e7a07a41795729d30d9ca5f7846992 100644 (file)
@@ -313,8 +313,6 @@ void fbi_probe_init(struct sspt_ip *ip)
 
 void fbi_probe_uninit(struct sspt_ip *ip)
 {
-       if (ip != NULL)
-               fbi_probe_cleanup(&ip->desc->info);
 }
 
 static int fbi_probe_register_probe(struct sspt_ip *ip)