Image (reference counted) now uses shared_ptr.

This commit is contained in:
2025-08-01 01:30:15 -04:00
parent b2963b17d2
commit 65f85a0b43
9 changed files with 31 additions and 65 deletions

View File

@ -2003,7 +2003,7 @@ DilloHtmlOption::~DilloHtmlOption ()
*/
static Embed *Html_input_image(DilloHtml *html, const char *tag, int tagsize)
{
DilloImage *Image;
std::shared_ptr< DilloImage > Image;
Embed *button = NULL;
html->styleEngine->setPseudoLink ();