[vlc-commits] acoustid: Fix leak

Hugo Beauzée-Luyssen git at videolan.org
Wed Apr 11 15:35:30 CEST 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr 11 14:21:29 2018 +0200| [4cfe9c5958e77d0d05aaecd1a7703bc2f6651ea0] | committer: Hugo Beauzée-Luyssen

acoustid: Fix leak

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

 modules/misc/webservices/acoustid.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/misc/webservices/acoustid.c b/modules/misc/webservices/acoustid.c
index c19106ac11..db0d2bc8fb 100644
--- a/modules/misc/webservices/acoustid.c
+++ b/modules/misc/webservices/acoustid.c
@@ -205,6 +205,7 @@ int DoAcoustIdWebRequest( vlc_object_t *p_obj, acoustid_fingerprint_t *p_data )
         msg_Dbg( p_obj, "results count == %d", p_data->results.count );
     else
         msg_Dbg( p_obj, "No results" );
+    free( p_buffer );
 
     return VLC_SUCCESS;
 }



More information about the vlc-commits mailing list