[vlc-commits] XSPF: fix potential memleak

Jean-Baptiste Kempf git at videolan.org
Fri Nov 14 23:44:05 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 14 23:35:42 2014 +0100| [a0ff500b7446f1af4001f07d9466180698efdd5c] | committer: Jean-Baptiste Kempf

XSPF: fix potential memleak

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

 modules/demux/playlist/xspf.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index dc84a6b..844b9b0 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -752,6 +752,7 @@ static bool parse_extension_node COMPLEX_INTERFACE
         }
     }
     if (b_release_input_item) vlc_gc_decref(p_new_input);
+    free(psz_value);
     return false;
 }
 



More information about the vlc-commits mailing list