Gitweb links:

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

The branch, master has been updated
       via  a6e825833d5ad2f79ed12aedbcb75773de52ca43 (commit)
      from  38fc60486b8862b65d0694de6d3463f62fd3c462 (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=a6e825833d5ad2f79ed12aedbcb75773de52ca43
commit a6e825833d5ad2f79ed12aedbcb75773de52ca43
Author: Chris Young <ch...@unsatisfactorysoftware.co.uk>
Commit: Chris Young <ch...@unsatisfactorysoftware.co.uk>

    Amiga: BitMap always alloced with the ami_rtg_ function, so should be freed 
with it too.

diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c
index b6add47..215c5eb 100644
--- a/frontends/amiga/plotters.c
+++ b/frontends/amiga/plotters.c
@@ -257,11 +257,7 @@ void ami_plot_ra_free(struct gui_globals *gg)
        ami_memory_chip_free(gg->tmprasbuf);
        free(gg->areabuf);
        DisposeLayerInfo(gg->layerinfo);
-       if(gg->palette_mapped == false) {
-               if(gg->bm) ami_rtg_freebitmap(gg->bm);
-       } else {
-               if(gg->bm) FreeBitMap(gg->bm);
-       }
+       if(gg->bm) ami_rtg_freebitmap(gg->bm);
 
        if(gg->managed_pen_list == true) {
                ami_plot_release_pens(gg->shared_pens);


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

Summary of changes:
 frontends/amiga/plotters.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c
index b6add47..215c5eb 100644
--- a/frontends/amiga/plotters.c
+++ b/frontends/amiga/plotters.c
@@ -257,11 +257,7 @@ void ami_plot_ra_free(struct gui_globals *gg)
        ami_memory_chip_free(gg->tmprasbuf);
        free(gg->areabuf);
        DisposeLayerInfo(gg->layerinfo);
-       if(gg->palette_mapped == false) {
-               if(gg->bm) ami_rtg_freebitmap(gg->bm);
-       } else {
-               if(gg->bm) FreeBitMap(gg->bm);
-       }
+       if(gg->bm) ami_rtg_freebitmap(gg->bm);
 
        if(gg->managed_pen_list == true) {
                ami_plot_release_pens(gg->shared_pens);


-- 
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- netsurf-commits@netsurf-browser.org
To unsubscribe send an email to netsurf-commits-le...@netsurf-browser.org

Reply via email to