[vlc-commits] commit: meta_folder: fix a memleak. ( Rémi Duraffort )

git at videolan.org git at videolan.org
Sun Jun 27 18:39:24 CEST 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jun 27 18:36:49 2010 +0200| [df833855559a20ce60cdf1429c845ee3b8a25120] | committer: Rémi Duraffort 

meta_folder: fix a memleak.

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

 modules/meta_engine/folder.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/meta_engine/folder.c b/modules/meta_engine/folder.c
index 5d13053..a607a77 100644
--- a/modules/meta_engine/folder.c
+++ b/modules/meta_engine/folder.c
@@ -125,6 +125,7 @@ static int FindMeta( vlc_object_t *p_this )
             }
         }
     }
+    free( psz_path );
 
     return b_have_art ? VLC_SUCCESS : VLC_EGENERIC;
 }



More information about the vlc-commits mailing list