Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/9014dc738114d23d9b1c819e9a832b4a3e5571d5
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/9014dc738114d23d9b1c819e9a832b4a3e5571d5
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/9014dc738114d23d9b1c819e9a832b4a3e5571d5

The branch, master has been updated
       via  9014dc738114d23d9b1c819e9a832b4a3e5571d5 (commit)
      from  d3a80a9aae980bf7ce532a59fdab0df25419b59b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=9014dc738114d23d9b1c819e9a832b4a3e5571d5
commit 9014dc738114d23d9b1c819e9a832b4a3e5571d5
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    browser_window: Don't attempt to unref NULL lwc string
    
    Fixes #2741
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/desktop/browser_window.c b/desktop/browser_window.c
index 3ae585e..03943f1 100644
--- a/desktop/browser_window.c
+++ b/desktop/browser_window.c
@@ -3732,7 +3732,9 @@ browser_window__navigate_internal(struct browser_window 
*bw,
                lwc_string_unref(path);
                return navigate_internal_query_fetcherror(bw, params);
        }
-       lwc_string_unref(path);
+       if (path != NULL) {
+               lwc_string_unref(path);
+       }
 
        /* Fall through to a normal about: fetch */
 


-----------------------------------------------------------------------

Summary of changes:
 desktop/browser_window.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/desktop/browser_window.c b/desktop/browser_window.c
index 3ae585e..03943f1 100644
--- a/desktop/browser_window.c
+++ b/desktop/browser_window.c
@@ -3732,7 +3732,9 @@ browser_window__navigate_internal(struct browser_window 
*bw,
                lwc_string_unref(path);
                return navigate_internal_query_fetcherror(bw, params);
        }
-       lwc_string_unref(path);
+       if (path != NULL) {
+               lwc_string_unref(path);
+       }
 
        /* Fall through to a normal about: fetch */
 


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to