[vlc-commits] epg: memory leak

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


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

epg: memory leak

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

 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