Commit 804c64f3 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: ExtensionCopy: fix memleak

parent 908a5134
...@@ -307,7 +307,7 @@ public: ...@@ -307,7 +307,7 @@ public:
url = qfu( p_ext->psz_url ); url = qfu( p_ext->psz_url );
icon = loadPixmapFromData( p_ext->p_icondata, p_ext->i_icondata_size ); icon = loadPixmapFromData( p_ext->p_icondata, p_ext->i_icondata_size );
} }
~ExtensionCopy() {} ~ExtensionCopy() { delete icon; }
QString name, title, description, shortdesc, author, version, url; QString name, title, description, shortdesc, author, version, url;
QPixmap *icon; QPixmap *icon;
......
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