[vlc-devel] commit: Fixed memleak. (Laurent Aimar )

git version control git at videolan.org
Mon Feb 8 20:33:33 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Feb  6 16:55:52 2010 +0100| [4ab06f3564cd95539f13b99551bd555172c2bb42] | committer: Laurent Aimar 

Fixed memleak.

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

 src/input/info.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/input/info.h b/src/input/info.h
index ac0a2bb..2beaafe 100644
--- a/src/input/info.h
+++ b/src/input/info.h
@@ -133,6 +133,7 @@ static inline void info_category_Delete(info_category_t *cat)
 	for (int i = 0; i < cat->i_infos; i++)
 		info_Delete(cat->pp_infos[i]);
 	free(cat->pp_infos);
+	free(cat->psz_name);
 	free(cat);
 }
 




More information about the vlc-devel mailing list