mot-agent: Temporary fix to prevent crash in iotivity
authorSaurav Babu <saurav.babu@samsung.com>
Thu, 15 Feb 2018 10:35:40 +0000 (16:05 +0530)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 2 Jul 2018 10:38:48 +0000 (19:38 +0900)
This patch will be removed when correct fix is added in iotivity

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/mot-agent/ma-subowner.c

index a6f26b2780c2313a78fbc41e13e35a0db33b5ec2..1d723b0d833a3d74eda0e6ce22f8523cbcea5add 100755 (executable)
@@ -512,7 +512,7 @@ static void _remove_mot_client()
        ma_check_null_ret("g_client", g_client);
 
        if (g_client->g_motdev_list) {
-               OCDeleteDiscoveredDevices(g_client->g_motdev_list);
+               //OCDeleteDiscoveredDevices(g_client->g_motdev_list);
                g_client->g_motdev_list = NULL;
        }
 }