From 2544f60ae09869567f91d29ead78e33daee62806 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 31 Jan 2015 21:27:04 +0000 Subject: Set the obtained pen in our node so we can release it later. --- amiga/plotters.c | 1 + 1 file changed, 1 insertion(+) diff --git a/amiga/plotters.c b/amiga/plotters.c index 1da380bc4..acdf50eb9 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -211,6 +211,7 @@ static ULONG ami_plot_obtain_pen(struct MinList *shared_pens, ULONG colr) if(shared_pens != NULL) { if((node = (struct ami_plot_pen *)AllocVecTagList(sizeof(struct ami_plot_pen), NULL))) { + node->pen = pen; AddTail((struct List *)shared_pens, (struct Node *)node); } } else { -- cgit v1.2.3