mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-05 14:51:47 +03:00
Set the obtained pen in our node so we can release it later.
This commit is contained in:
parent
e68171a17c
commit
2544f60ae0
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user