Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/fdaad39a57029971f0663...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/fdaad39a57029971f0663b4...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/fdaad39a57029971f0663b402...
The branch, master has been updated
via fdaad39a57029971f0663b402d6335527f7a6039 (commit)
from 6e5344464bdc5275eb04782284c0e19c26c217e4 (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=fdaad39a57029971f06...
commit fdaad39a57029971f0663b402d6335527f7a6039
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Don't destroy layers if we never created them.
diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c
index 728efb0..b848543 100644
--- a/frontends/amiga/plotters.c
+++ b/frontends/amiga/plotters.c
@@ -239,6 +239,8 @@ void ami_plot_ra_free(struct gui_globals *gg)
{
init_layers_count--;
+ if(init_layers_count < 0) return;
+
if((init_layers_count == 0) && (pool_pens != NULL)) {
ami_memory_itempool_delete(pool_pens);
pool_pens = NULL;
-----------------------------------------------------------------------
Summary of changes:
frontends/amiga/plotters.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c
index 728efb0..b848543 100644
--- a/frontends/amiga/plotters.c
+++ b/frontends/amiga/plotters.c
@@ -239,6 +239,8 @@ void ami_plot_ra_free(struct gui_globals *gg)
{
init_layers_count--;
+ if(init_layers_count < 0) return;
+
if((init_layers_count == 0) && (pool_pens != NULL)) {
ami_memory_itempool_delete(pool_pens);
pool_pens = NULL;
--
NetSurf Browser