Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/d34b0726e38b0ad51bf1b733fd611df0409b5001
...commit
http://git.netsurf-browser.org/netsurf.git/commit/d34b0726e38b0ad51bf1b733fd611df0409b5001
...tree
http://git.netsurf-browser.org/netsurf.git/tree/d34b0726e38b0ad51bf1b733fd611df0409b5001
The branch, master has been updated
via d34b0726e38b0ad51bf1b733fd611df0409b5001 (commit)
from 40951d5294c87a85c9ff315ba5ebb13a643cea81 (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=d34b0726e38b0ad51bf1b733fd611df0409b5001
commit d34b0726e38b0ad51bf1b733fd611df0409b5001
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Framebuffer: Ensure local history corewindow is fully initialised.
diff --git a/frontends/framebuffer/local_history.c
b/frontends/framebuffer/local_history.c
index 5201298..cc45b1f 100644
--- a/frontends/framebuffer/local_history.c
+++ b/frontends/framebuffer/local_history.c
@@ -145,7 +145,7 @@ fb_local_history_init(fbtk_widget_t *parent,
return res;
}
- ncwin = malloc(sizeof(struct fb_local_history_window));
+ ncwin = calloc(1, sizeof(*ncwin));
if (ncwin == NULL) {
return NSERROR_NOMEM;
}
-----------------------------------------------------------------------
Summary of changes:
frontends/framebuffer/local_history.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontends/framebuffer/local_history.c
b/frontends/framebuffer/local_history.c
index 5201298..cc45b1f 100644
--- a/frontends/framebuffer/local_history.c
+++ b/frontends/framebuffer/local_history.c
@@ -145,7 +145,7 @@ fb_local_history_init(fbtk_widget_t *parent,
return res;
}
- ncwin = malloc(sizeof(struct fb_local_history_window));
+ ncwin = calloc(1, sizeof(*ncwin));
if (ncwin == NULL) {
return NSERROR_NOMEM;
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org