[0.6.60] fix mem leak 28/144928/1
authorEunhae Choi <eunhae1.choi@samsung.com>
Fri, 18 Aug 2017 10:47:28 +0000 (19:47 +0900)
committerEunhae Choi <eunhae1.choi@samsung.com>
Fri, 18 Aug 2017 10:47:28 +0000 (19:47 +0900)
Change-Id: I073b6b5e7c16d568f14f86383bd59a36853c25be

src/mm_player_priv.c

index 43bcc2b63f9229ff3e3ff93738a53faa53de8153..93743f0871323ebe73cc0bb1338c942d34f025b7 100644 (file)
@@ -4551,6 +4551,7 @@ void __mmplayer_gst_set_audiosink_property(mm_player_t* player, MMHandleType att
                g_object_set(player->pipeline->audiobin[MMPLAYER_A_SINK].gst, "stream-properties", props, NULL);
                LOGI("stream_type[%s], stream_id[%d], focus_id[%d], client_pid[%d], result[%s].\n",
                        stream_type, stream_id, player->sound_focus.focus_id, player->sound_focus.pid, stream_props);
+               gst_structure_free(props);
        }
 
        mm_attrs_get_int_by_name(attrs, "sound_latency_mode", &latency_mode);