Change-Id: Id3e2e42e1134a571be7e30d0cd761125e5002033
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)
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;
}
/**