[vlc-devel] commit: Release the proper object ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Mar 7 11:25:46 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar  7 12:25:38 2009 +0200| [df887d84440d06f345d8bc45aadd76a099018ded] | committer: Rémi Denis-Courmont 

Release the proper object

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

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

diff --git a/src/interface/dialog.c b/src/interface/dialog.c
index b2152f6..424f188 100644
--- a/src/interface/dialog.c
+++ b/src/interface/dialog.c
@@ -115,7 +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);
+    vlc_object_release (provider);
 }
 
 #undef dialog_Fatal




More information about the vlc-devel mailing list