Set the obtained pen in our node so we can release it later.

This commit is contained in:
Chris Young 2015-01-31 21:27:04 +00:00
parent e68171a17c
commit 2544f60ae0

View File

@ -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 {