mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 07:13:08 +02:00
eeshow/gui/over.c (overlay_remove_all): make re-entrant safe
This commit is contained in:
parent
b114f4e00e
commit
cdcc1d3adc
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user