Port to libdom changed HTML content's base_target from talloc_strdup to strdup, so use free instead of talloc_free in html_destroy.

svn path=/trunk/netsurf/; revision=13877
This commit is contained in:
Michael Drake 2012-04-17 09:04:04 +00:00
parent 8202875dbb
commit 7224990953

View File

@ -2321,7 +2321,7 @@ static void html_destroy(struct content *c)
/* Free base target */
if (html->base_target != NULL) {
talloc_free(html->base_target);
free(html->base_target);
html->base_target = NULL;
}