Commit 9cef330d authored by Eric Petit's avatar Eric Petit

beos/InterfaceWindow.cpp: fixed a couple of missing vlc_object_release()s

parent 79fe764c
...@@ -1304,6 +1304,7 @@ void TitleMenu::AttachedToWindow() ...@@ -1304,6 +1304,7 @@ void TitleMenu::AttachedToWindow()
var_Change( p_input, "title", VLC_VAR_FREELIST, var_Change( p_input, "title", VLC_VAR_FREELIST,
&val_list, &text_list ); &val_list, &text_list );
} }
vlc_object_release( p_input );
BMenu::AttachedToWindow(); BMenu::AttachedToWindow();
} }
...@@ -1367,6 +1368,7 @@ void ChapterMenu::AttachedToWindow() ...@@ -1367,6 +1368,7 @@ void ChapterMenu::AttachedToWindow()
var_Change( p_input, "chapter", VLC_VAR_FREELIST, var_Change( p_input, "chapter", VLC_VAR_FREELIST,
&val_list, &text_list ); &val_list, &text_list );
} }
vlc_object_release( p_input );
BMenu::AttachedToWindow(); BMenu::AttachedToWindow();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment