1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 14:51:53 +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) { while (*overlays) {
next = (*overlays)->next; next = (*overlays)->next;
overlay_free(*overlays); overlay_remove(overlays, *overlays);
*overlays = next; *overlays = next;
} }
} }