[vlc-devel] commit: osd: Make sure we release properly in __osd_Volume. (Pierre d' Herbemont )
git version control
git at videolan.org
Sat Jul 12 22:24:49 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul 12 21:37:39 2008 +0200| [33a0f4dd254da4475aad732effac6a0e6e2e424e]
osd: Make sure we release properly in __osd_Volume.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33a0f4dd254da4475aad732effac6a0e6e2e424e
---
src/osd/osd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/osd/osd.c b/src/osd/osd.c
index 4eb576d..87be707 100644
--- a/src/osd/osd.c
+++ b/src/osd/osd.c
@@ -706,9 +706,9 @@ void __osd_Volume( vlc_object_t *p_this )
osd_SetMenuUpdate( p_osd, true );
osd_SetMenuVisible( p_osd, true );
}
- vlc_object_release( (vlc_object_t*) p_osd );
vlc_mutex_unlock( lockval.p_address );
}
+ vlc_object_release( p_osd );
}
osd_button_t *__osd_ButtonFind( vlc_object_t *p_this, int i_x, int i_y,
More information about the vlc-devel
mailing list