]> git.sesse.net Git - vlc/blobdiff - modules/gui/beos/InterfaceWindow.cpp
beos/InterfaceWindow.cpp: fixed a couple of missing vlc_object_release()s
[vlc] / modules / gui / beos / InterfaceWindow.cpp
index f44b5eab25115ba71ea69a3ea7c803a7143b2e3d..cfae9b17b4f769f3ac9252646abc7778558d36ad 100644 (file)
@@ -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();
 }