diff --git a/src/html.cc b/src/html.cc index b6992fc..f124255 100644 --- a/src/html.cc +++ b/src/html.cc @@ -562,15 +562,6 @@ DilloHtml::~DilloHtml() a_Html_form_delete (forms.at(i)); forms.clear(); - inputs_outside_form.clear(); - - for (auto &link: links) - // TODO: `DilloUrl` has to become RAII... - // TODO: In the interim, a `std::unique_ptr` deleter might - // be a good choice. - delete link.release(); // Once I have RAII correct on `DilloUrl`, I can make this not insane. - links.clear(); - for (int i = 0; i < images->size(); i++) { DilloHtmlImage *img = images->get(i); delete img->url;