[vlc-commits] update: fix memory leak

Rémi Duraffort git at videolan.org
Sun Jan 19 17:41:33 CET 2014


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jan 19 17:37:38 2014 +0100| [2310b1952ee36104d23b9840f9b42364057cf4fe] | committer: Rémi Duraffort

update: fix memory leak

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

 src/misc/update.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/misc/update.c b/src/misc/update.c
index 8dc4954..9379552 100644
--- a/src/misc/update.c
+++ b/src/misc/update.c
@@ -358,6 +358,9 @@ static bool GetUpdateFile( update_t *p_update )
     else
     {
         msg_Info( p_update->p_libvlc, "Status file authenticated" );
+        free( p_hash );
+        free( psz_version_line );
+        free( psz_update_data );
         return true;
     }
 



More information about the vlc-commits mailing list