daemon: Fix svace defect 56/300756/1
authorSangchul Lee <sc11.lee@samsung.com>
Wed, 1 Nov 2023 05:30:53 +0000 (14:30 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 2 Nov 2023 01:05:22 +0000 (01:05 +0000)
It is detected by PASSED_TO_PROC_AFTER_FREE.EX checker.

Change-Id: I23d34ffc615cc887a0e269f3723dab9c10c06b12
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit d04c90748c93d89c0fb5ab01687a2de4308d58c4)

src/daemon/espp_service_handler.c

index 2a2b7c44f632f055953b840e6896b02070f665f3..b0bc5a9b8192c72c42738fa19da53d24dca588ad 100644 (file)
@@ -116,7 +116,7 @@ static void __handle_destroy(handler_userdata_s *hdata, espp_service_data_from_c
 
        RET_IF(esplusplayer_destroy((esplusplayer_handle)hdata->espp) != ESPLUSPLAYER_ERROR_TYPE_NONE, "failed to esplusplayer_destroy()");
 
-       LOG_INFO("fd[%d], ESPP[%p]: esplusplayer_destroy() success", hdata->fd, hdata->espp);
+       LOG_INFO("fd[%d]: esplusplayer_destroy() success", hdata->fd);
 
        ASSERT(g_hash_table_steal(hdata->svc->fd_table, hdata->key));