From: NAMJEONGYOON Date: Thu, 7 Jul 2016 04:23:25 +0000 (+0900) Subject: [UTC][player][Non-ACR][fix bugs] X-Git-Tag: Beta_RC16~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6175dfc4074a40adc57b6b517fea97c8728273c;p=test%2Ftct%2Fnative%2Fapi.git [UTC][player][Non-ACR][fix bugs] Change-Id: Id3e2e42e1134a571be7e30d0cd761125e5002033 --- diff --git a/src/utc/player/utc-media-player.c b/src/utc/player/utc-media-player.c index 0698c4136..4ba5f08a5 100755 --- a/src/utc/player/utc-media-player.c +++ b/src/utc/player/utc-media-player.c @@ -195,14 +195,19 @@ void utc_media_player_cleanup(void) free(media_path); if(subtitle_path) free(subtitle_path); + audio_path = media_path = subtitle_path = NULL; if (g_stream_info_h) { sound_manager_destroy_stream_information(g_stream_info_h); g_stream_info_h = NULL; } - if(band_levels) + if(band_levels) { free(band_levels); - if(code) + band_levels = NULL; + } + if (code) { free(code); + code = NULL; + } if(stream_info.album) free(stream_info.album); if(stream_info.artist) @@ -215,10 +220,13 @@ void utc_media_player_cleanup(void) free(stream_info.title); if(stream_info.year) free(stream_info.year); - if(stream_info.audio_codec) + if(stream_info.audio_codec) free(stream_info.audio_codec); if(stream_info.video_codec) free(stream_info.video_codec); + + stream_info.album = stream_info.artist = stream_info.author = stream_info.genre = stream_info.title = stream_info.year + = stream_info.audio_codec = stream_info.video_codec = NULL; } /**