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

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


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 16:52:53 2013 +0200| [95f5a5f46a93920eba88d339707a8140df753c44] | committer: Rémi Duraffort

Fix memory leak (cid #1049517)

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

 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