1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-05 02:55:21 +02:00

eeshow/gui/over.c (overlay_remove_all): make re-entrant safe

This commit is contained in:
Werner Almesberger 2016-08-18 18:14:14 -03:00
parent b114f4e00e
commit cdcc1d3adc

View File

@ -386,7 +386,7 @@ void overlay_remove_all(struct overlay **overlays)
while (*overlays) {
next = (*overlays)->next;
overlay_free(*overlays);
overlay_remove(overlays, *overlays);
*overlays = next;
}
}