The dtor has to be called correctly.
This commit is contained in:
@ -555,7 +555,7 @@ DilloHtml::~DilloHtml()
|
|||||||
DilloHtmlImage *img = images.at(i);
|
DilloHtmlImage *img = images.at(i);
|
||||||
img->url.reset(); // Was: delete img->url;
|
img->url.reset(); // Was: delete img->url;
|
||||||
img->image.reset(); // Was: a_Image_unref(img->image);
|
img->image.reset(); // Was: a_Image_unref(img->image);
|
||||||
dFree(img);
|
delete img;
|
||||||
}
|
}
|
||||||
images.clear();
|
images.clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user