[vlc-devel] commit: zsh: fix a memory leak ( this is usefull as this program seems to fail on OOM). ( Rémi Duraffort )

git version control git at videolan.org
Mon Jan 4 00:33:08 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Jan  3 18:36:10 2010 +0100| [ef0bcc793dbfa227017b9773b7dddfc75a666361] | committer: Rémi Duraffort 

zsh: fix a memory leak (this is usefull as this program seems to fail on OOM).

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

 extras/analyser/zsh.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extras/analyser/zsh.cpp b/extras/analyser/zsh.cpp
index 880ef77..f527dcf 100644
--- a/extras/analyser/zsh.cpp
+++ b/extras/analyser/zsh.cpp
@@ -198,6 +198,7 @@ void PrintModuleList( mumap &mods, mcmap &mods2 )
 
     }
     printf( "\"\n\n" );
+    module_list_free( p_list );
     return;
 }
 




More information about the vlc-devel mailing list