The dtor has to be called correctly.

This commit is contained in:
2025-08-01 02:21:53 -04:00
parent 971822ab09
commit 9ad7d008e5

View File

@ -555,7 +555,7 @@ DilloHtml::~DilloHtml()
DilloHtmlImage *img = images.at(i);
img->url.reset(); // Was: delete img->url;
img->image.reset(); // Was: a_Image_unref(img->image);
dFree(img);
delete img;
}
images.clear();
}