[vlc-commits] epg: memory leak

Rémi Denis-Courmont git at videolan.org
Fri Nov 14 18:26:59 CET 2014


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Nov 14 19:26:32 2014 +0200| [98c3fc3964e1f5692aec474c5b4fb71d1cc8a82f] | committer: Rémi Denis-Courmont

epg: memory leak

(cherry picked from commit f1c04981d9c01d679954b1a33ea3ea124b78a345)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=98c3fc3964e1f5692aec474c5b4fb71d1cc8a82f
---

 src/video_output/video_epg.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/video_output/video_epg.c b/src/video_output/video_epg.c
index 624caf1..471d52c 100644
--- a/src/video_output/video_epg.c
+++ b/src/video_output/video_epg.c
@@ -282,6 +282,7 @@ int vout_OSDEpg(vout_thread_t *vout, input_item_t *input)
     }
 
     vlc_mutex_unlock(&input->lock);
+    free(now_playing);
 
     /* If no EPG event has been found. */
     if (epg == NULL)



More information about the vlc-commits mailing list