mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 03:14:21 +03:00
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:
parent
8202875dbb
commit
7224990953
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user