]> git.sesse.net Git - vlc/commitdiff
beos/InterfaceWindow.cpp: fixed a couple of missing vlc_object_release()s
authorEric Petit <titer@videolan.org>
Wed, 8 Dec 2004 22:56:55 +0000 (22:56 +0000)
committerEric Petit <titer@videolan.org>
Wed, 8 Dec 2004 22:56:55 +0000 (22:56 +0000)
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();
 }