]> git.sesse.net Git - vlc/commitdiff
Fixed a potential segfault
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 5 Jul 2008 17:01:00 +0000 (19:01 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 5 Jul 2008 17:01:15 +0000 (19:01 +0200)
modules/gui/macosx/prefs.m

index 91ffe40596f42965dbc98f9b57878bfb50442c01..f384790a5c3a3e93c044f4f18512adf908e2c247 100644 (file)
@@ -452,8 +452,8 @@ static VLCTreeItem *o_root_item = nil;
                     children:IsALeafNode
                     whithCategory: -1]];
                 }
+            vlc_list_release( p_list );
         }
-        vlc_list_release( p_list );
     }
     return o_children;
 }