[vlc-devel] commit: config: fix memory leak. ( Rémi Duraffort )

git version control git at videolan.org
Sun Jan 24 16:14:29 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jan 24 16:09:05 2010 +0100| [a144530106657914436879d720648a79e4d630f2] | committer: Rémi Duraffort 

config: fix memory leak.

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

 src/config/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/config/core.c b/src/config/core.c
index 19cd370..73b904e 100644
--- a/src/config/core.c
+++ b/src/config/core.c
@@ -473,7 +473,7 @@ void config_UnsortConfig (void)
     config.list = NULL;
     config.count = 0;
 
-    free (config.list);
+    free (clist);
 }
 
 /*****************************************************************************




More information about the vlc-devel mailing list