[vlc-commits] Fix memory leak (cid #1049517)

Rémi Duraffort git at videolan.org
Mon Jul 22 17:51:27 CEST 2013


vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 16:52:53 2013 +0200| [3a5897bf5e713ff068a6556211a028dd0247779b] | committer: Jean-Baptiste Kempf

Fix memory leak (cid #1049517)

(cherry picked from commit 95f5a5f46a93920eba88d339707a8140df753c44)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 lib/vlm.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/vlm.c b/lib/vlm.c
index aba7966..ed3d7e4 100644
--- a/lib/vlm.c
+++ b/lib/vlm.c
@@ -391,6 +391,7 @@ const char* libvlc_vlm_show_media( libvlc_instance_t *p_instance,
         }
         free( psz_tmp );
     }
+    vlm_MessageDelete( answer );
     free( psz_message );
     return( psz_response );
 }



More information about the vlc-commits mailing list