[0.6.210] Fix memory leak in __mmplayer_gst_create_txt_sink_bin() 43/218443/1
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 22 Nov 2019 08:12:03 +0000 (17:12 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 22 Nov 2019 08:12:03 +0000 (17:12 +0900)
Change-Id: Iec32796761de23af1379347bd780b5b061ec52f9

packaging/libmm-player.spec
src/mm_player_priv.c

index a882d8d37f49a797a5081bfcd61037d4668024ea..9a8eb55ce75e8926211abfcf2f4e774d6f2252e1 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.6.209
+Version:    0.6.210
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index ca2f129bd77206fc26f24b9e966d083f839879a4..f5cab869d8c38ce708f579945657555ef381cbeb 100644 (file)
@@ -3785,7 +3785,7 @@ ERROR:
        if (textbin[MMPLAYER_T_BIN].gst)
                gst_object_unref(GST_OBJECT(textbin[MMPLAYER_T_BIN].gst));
 
-       MMPLAYER_FREEIF(player->pipeline->textbin);
+       MMPLAYER_FREEIF(textbin);
        player->pipeline->textbin = NULL;
 
        MMPLAYER_FLEAVE();