[ITC][iotcon][Non-ACR][Bugfix] Fix double-free
authorJiwon Park <jiwony.park@samsung.com>
Fri, 2 Dec 2016 10:42:22 +0000 (19:42 +0900)
committerJiwon Park <jiwony.park@samsung.com>
Fri, 2 Dec 2016 10:46:34 +0000 (02:46 -0800)
Change-Id: I903515b8361646f003a9c459caa18a544e20ed2c

src/itc/iotcon/ITs-iotcon-list.c

index bd69d6fb39129790b3f9131fec351ee60aa2b672..d8c738721f89b5dade302400e0e2315e5c1d8462 100755 (executable)
@@ -689,11 +689,6 @@ int ITc_iotcon_list_add_get_nth_list_p(void)
                iotcon_list_destroy(hList2);
                hList2 = NULL;
        }
-       if(hList3)
-       {
-               iotcon_list_destroy(hList3);
-               hList3 = NULL;
-       }
 
     return 0;
 }