From: Eric Petit Date: Wed, 8 Dec 2004 22:56:55 +0000 (+0000) Subject: beos/InterfaceWindow.cpp: fixed a couple of missing vlc_object_release()s X-Git-Tag: 0.8.2~1547 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9cef330d8f9a3a2a8ff9c348da3130b9589dd82f;p=vlc beos/InterfaceWindow.cpp: fixed a couple of missing vlc_object_release()s --- diff --git a/modules/gui/beos/InterfaceWindow.cpp b/modules/gui/beos/InterfaceWindow.cpp index f44b5eab25..cfae9b17b4 100644 --- a/modules/gui/beos/InterfaceWindow.cpp +++ b/modules/gui/beos/InterfaceWindow.cpp @@ -1304,6 +1304,7 @@ void TitleMenu::AttachedToWindow() var_Change( p_input, "title", VLC_VAR_FREELIST, &val_list, &text_list ); } + vlc_object_release( p_input ); BMenu::AttachedToWindow(); } @@ -1367,6 +1368,7 @@ void ChapterMenu::AttachedToWindow() var_Change( p_input, "chapter", VLC_VAR_FREELIST, &val_list, &text_list ); } + vlc_object_release( p_input ); BMenu::AttachedToWindow(); }