mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
Squash leak in error case.
This commit is contained in:
parent
541724fb0d
commit
393dee4fd7
@ -831,6 +831,7 @@ static nserror hotlist_generate(void)
|
||||
nsurl_unref(url);
|
||||
|
||||
if (err != NSERROR_OK) {
|
||||
free(title);
|
||||
return NSERROR_NOMEM;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user