Fix an issue where GtkIMHtmlScalables were not properly cleaned up which lead to a crash

Review Request #514 — Created Feb. 14, 2021 and submitted — Latest diff uploaded

Information

pidgin/pidgin
release-2.x.y
8b504afa8067

Reviewers

Fix an issue where GtkIMHtmlScalables were not properly cleaned up which lead to a crash

Followed the reproduction steps from https://issues.imfreedom.org/issue/PIDGIN-17446, found the issue with valgrind and merged the delete functions so that they actually make sense and I was unable to reproduce the issue again.