From: Jaechul Lee Date: Thu, 19 Mar 2020 07:02:31 +0000 (+0900) Subject: Fix NULL pointer dereference X-Git-Tag: accepted/tizen/unified/20200323.172912~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3d5ce1b58b577547a5f31a2206358dc1db20001;p=platform%2Fcore%2Fmultimedia%2Flibmm-sound.git Fix NULL pointer dereference g_variant_unref is called with a NULL argument. [Version] 0.12.65 [Issue Type] Bug Change-Id: I2f65a076f2c54a35ffcbe756b846a2f8c14edb21 Signed-off-by: Jaechul Lee --- diff --git a/mm_sound_proxy.c b/mm_sound_proxy.c index 5b4b767..2667252 100644 --- a/mm_sound_proxy.c +++ b/mm_sound_proxy.c @@ -949,7 +949,6 @@ int mm_sound_proxy_play_sound_with_stream_info(const char* filename, int repeat, if ((ret = mm_sound_dbus_method_call_to(AUDIO_PROVIDER_SOUND_SERVER, AUDIO_METHOD_PLAY_FILE_START_WITH_STREAM_INFO, params, &result)) != MM_ERROR_NONE) { debug_error("dbus play file failed"); - g_variant_unref(result); return ret; } diff --git a/packaging/libmm-sound.spec b/packaging/libmm-sound.spec index ab11251..9c5a536 100644 --- a/packaging/libmm-sound.spec +++ b/packaging/libmm-sound.spec @@ -1,6 +1,6 @@ Name: libmm-sound Summary: MMSound Package contains client lib and sound_server binary -Version: 0.12.64 +Version: 0.12.65 Release: 0 Group: System/Libraries License: Apache-2.0