From acc2672238b4e32c269e78df97c8c324e22d25af Mon Sep 17 00:00:00 2001 From: Saurav Babu Date: Thu, 15 Feb 2018 16:05:40 +0530 Subject: [PATCH] mot-agent: Temporary fix to prevent crash in iotivity This patch will be removed when correct fix is added in iotivity Signed-off-by: Saurav Babu --- src/mot-agent/ma-subowner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mot-agent/ma-subowner.c b/src/mot-agent/ma-subowner.c index a6f26b2..1d723b0 100755 --- a/src/mot-agent/ma-subowner.c +++ b/src/mot-agent/ma-subowner.c @@ -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; } } -- 2.34.1