From 9691b9c1590333878e29edc00dd7167c5930f616 Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Mon, 21 Oct 2019 11:55:34 +0900 Subject: [PATCH] sound_manager_test: Fix Coverity defect [Version] 0.5.42 [Issue Type] Coverity Change-Id: I8c24d5700410047509bfbd78092b07312a4145dc Signed-off-by: Sangchul Lee --- packaging/capi-media-sound-manager.spec | 4 ++-- test/sound_manager_test.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packaging/capi-media-sound-manager.spec b/packaging/capi-media-sound-manager.spec index bdfdf84..439fdaa 100644 --- a/packaging/capi-media-sound-manager.spec +++ b/packaging/capi-media-sound-manager.spec @@ -1,7 +1,7 @@ Name: capi-media-sound-manager Summary: Sound Manager library -Version: 0.5.41 -Release: 1 +Version: 0.5.42 +Release: 0 Group: Multimedia/API License: Apache-2.0 Source0: %{name}-%{version}.tar.gz diff --git a/test/sound_manager_test.c b/test/sound_manager_test.c index 8e2f266..034e43f 100644 --- a/test/sound_manager_test.c +++ b/test/sound_manager_test.c @@ -1787,7 +1787,9 @@ static void interpret(char *cmd) } } - sound_manager_free_device_list(device_list); + ret = sound_manager_free_device_list(device_list); + if (ret) + g_print("failed to sound_manager_free_device_list, ret(0x%x)\n", ret); } } reset_menu_state(); -- 2.7.4