Gitweb links:

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

The branch, master has been updated
       via  a43b83de0369228b935b693390186e5a8804340d (commit)
      from  65b16f4c54eba748ee4c8b6580e6f08fc27534f8 (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=a43b83de0369228b935b693390186e5a8804340d
commit a43b83de0369228b935b693390186e5a8804340d
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    HTML: Squash error-path leaks in select box construction.

diff --git a/content/handlers/html/box_construct.c 
b/content/handlers/html/box_construct.c
index eb3bba7..4d0cba7 100644
--- a/content/handlers/html/box_construct.c
+++ b/content/handlers/html/box_construct.c
@@ -2719,6 +2719,7 @@ bool box_select(BOX_SPECIAL_PARAMS)
                                                        c2) == false) {
                                                dom_node_unref(c2);
                                                dom_node_unref(c);
+                                               form_free_control(gadget);
                                                return false;
                                        }
                                } else {
@@ -2729,6 +2730,7 @@ bool box_select(BOX_SPECIAL_PARAMS)
                                if (err != DOM_NO_ERR) {
                                        dom_node_unref(c2);
                                        dom_node_unref(c);
+                                       form_free_control(gadget);
                                        return false;
                                }
 


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

Summary of changes:
 content/handlers/html/box_construct.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/content/handlers/html/box_construct.c 
b/content/handlers/html/box_construct.c
index eb3bba7..4d0cba7 100644
--- a/content/handlers/html/box_construct.c
+++ b/content/handlers/html/box_construct.c
@@ -2719,6 +2719,7 @@ bool box_select(BOX_SPECIAL_PARAMS)
                                                        c2) == false) {
                                                dom_node_unref(c2);
                                                dom_node_unref(c);
+                                               form_free_control(gadget);
                                                return false;
                                        }
                                } else {
@@ -2729,6 +2730,7 @@ bool box_select(BOX_SPECIAL_PARAMS)
                                if (err != DOM_NO_ERR) {
                                        dom_node_unref(c2);
                                        dom_node_unref(c);
+                                       form_free_control(gadget);
                                        return false;
                                }
 


-- 
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