[vlc-devel] commit: Fix a memory leak ( Rafaël Carré )

git version control git at videolan.org
Thu Aug 7 13:40:05 CEST 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <rcarre at m2x.nl> | Thu Aug  7 13:42:09 2008 +0200| [acf47da20244d9afcfea8de6dcc870ee79179386] | committer: Rafaël Carré 

Fix a memory leak

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

 mozilla/control/npolibvlc.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/mozilla/control/npolibvlc.cpp b/mozilla/control/npolibvlc.cpp
index 9c292ac..9dfd5cb 100755
--- a/mozilla/control/npolibvlc.cpp
+++ b/mozilla/control/npolibvlc.cpp
@@ -381,6 +381,7 @@ RuntimeNPObject::InvokeResult LibvlcInputNPObject::getProperty(int index, NPVari
         else
         {
             /* for input state, return CLOSED rather than an exception */
+            libvlc_exception_clear(&ex);
             INT32_TO_NPVARIANT(0, result);
             return INVOKERESULT_NO_ERROR;
         }




More information about the vlc-devel mailing list