Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/6e5344464bdc5275eb047...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/6e5344464bdc5275eb04782...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/6e5344464bdc5275eb0478228...
The branch, master has been updated
via 6e5344464bdc5275eb04782284c0e19c26c217e4 (commit)
from 3c0ff81be45968e1c9d9b989243c975dfeab4cb0 (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=6e5344464bdc5275eb0...
commit 6e5344464bdc5275eb04782284c0e19c26c217e4
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Ensure we have a layer before deleting it.
diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c
index 7c5df46..728efb0 100644
--- a/frontends/amiga/plotters.c
+++ b/frontends/amiga/plotters.c
@@ -245,7 +245,7 @@ void ami_plot_ra_free(struct gui_globals *gg)
}
if(gg->rp) {
- DeleteLayer(0,gg->rp->Layer);
+ if(gg->rp->Layer != NULL) DeleteLayer(0, gg->rp->Layer);
free(gg->rp->TmpRas);
free(gg->rp->AreaInfo);
free(gg->rp);
-----------------------------------------------------------------------
Summary of changes:
frontends/amiga/plotters.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c
index 7c5df46..728efb0 100644
--- a/frontends/amiga/plotters.c
+++ b/frontends/amiga/plotters.c
@@ -245,7 +245,7 @@ void ami_plot_ra_free(struct gui_globals *gg)
}
if(gg->rp) {
- DeleteLayer(0,gg->rp->Layer);
+ if(gg->rp->Layer != NULL) DeleteLayer(0, gg->rp->Layer);
free(gg->rp->TmpRas);
free(gg->rp->AreaInfo);
free(gg->rp);
--
NetSurf Browser