From: Eunhae Choi Date: Thu, 16 Feb 2017 10:48:27 +0000 (+0900) Subject: [0.2.42] fix svace issue X-Git-Tag: accepted/tizen/common/20170303.090850~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F50%2F115150%2F1;p=platform%2Fcore%2Fmultimedia%2Fmmsvc-player.git [0.2.42] fix svace issue Change-Id: I2999ab61db66b178846ec46b6a5806dc786f5415 --- diff --git a/muse/src/muse_player.c b/muse/src/muse_player.c index 6abe3e1..281f2fc 100644 --- a/muse/src/muse_player.c +++ b/muse/src/muse_player.c @@ -2289,7 +2289,7 @@ int player_disp_set_media_stream_info(muse_module_h module) int channel; int samplerate; int bit; - media_format_h format; + media_format_h format = NULL; muse_player = (muse_player_handle_s *)muse_core_ipc_get_handle(module); player_msg_get(mimetype, muse_core_client_get_msg(module)); @@ -2333,7 +2333,8 @@ int player_disp_set_media_stream_info(muse_module_h module) ret = legacy_player_set_media_stream_info(muse_player->player_handle, type, format); - set_media_stream_info_exit: +set_media_stream_info_exit: + media_format_unref(format); player_msg_return(api, ret, module); return ret; } diff --git a/packaging/mmsvc-player.spec b/packaging/mmsvc-player.spec index 2a407f8..cb89e3e 100644 --- a/packaging/mmsvc-player.spec +++ b/packaging/mmsvc-player.spec @@ -1,6 +1,6 @@ Name: mmsvc-player Summary: A Media Player module for muse server -Version: 0.2.41 +Version: 0.2.42 Release: 0 Group: Multimedia/Libraries License: Apache-2.0