modules/access/directory.c: Fix an input_item memleak.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 23 Dec 2007 14:35:43 +0000 (14:35 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 23 Dec 2007 14:35:43 +0000 (14:35 +0000)
modules/access/directory.c

index 2fb2c06..884a708 100644 (file)
@@ -525,6 +525,7 @@ static int ReadDir( playlist_t *p_playlist, const char *psz_name,
                                            PLAYLIST_NO_REBUILD,
                                            PLAYLIST_END, NULL, NULL,
                                            VLC_FALSE );
+                    vlc_gc_decref( p_input );
                 }
             }
         }