[vlc-devel] commit: Fix leak ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Mar 6 17:15:51 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar  6 18:15:14 2009 +0200| [1168cbcfd205d6c0fb1e52eb346b330c1d96b3a0] | committer: Rémi Denis-Courmont 

Fix leak

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

 src/interface/dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/interface/dialog.c b/src/interface/dialog.c
index 6cce299..b2152f6 100644
--- a/src/interface/dialog.c
+++ b/src/interface/dialog.c
@@ -115,6 +115,7 @@ void dialog_FatalVa (vlc_object_t *obj, const char *title,
     dialog_fatal_t dialog = { title, text, };
     var_SetAddress (provider, "dialog-fatal", &dialog);
     free (text);
+    vlc_object_release (obj);
 }
 
 #undef dialog_Fatal




More information about the vlc-devel mailing list