Commit b8ad17d6 authored by Rémi Duraffort's avatar Rémi Duraffort

bookmarks: fix memleaks

parent b1a8a5cc
......@@ -130,8 +130,9 @@ void BookmarksDialog::update()
item->setFlags( Qt::ItemIsSelectable | Qt::ItemIsEditable |
Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);
bookmarksList->insertTopLevelItem( i, item );
vlc_seekpoint_Delete( pp_bookmarks[i] );
}
free( pp_bookmarks );
}
void BookmarksDialog::add()
......
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