mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-26 08:19:55 +03:00
browser_window: Don't attempt to unref NULL lwc string
Fixes #2741 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
d3a80a9aae
commit
9014dc7381
@ -3732,7 +3732,9 @@ browser_window__navigate_internal(struct browser_window *bw,
|
||||
lwc_string_unref(path);
|
||||
return navigate_internal_query_fetcherror(bw, params);
|
||||
}
|
||||
if (path != NULL) {
|
||||
lwc_string_unref(path);
|
||||
}
|
||||
|
||||
/* Fall through to a normal about: fetch */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user