… | … | ||
---|---|---|---|
1688 | at->item->destroy (); | 1688 | at->item->destroy (); |
1689 | 1689 | ||
1690 | sfree (at); | 1690 | sfree (at); |
1691 | } | 1691 | } |
1692 | 1692 | ||
1693 | static void | ||
1694 | free_artifactlist (artifactlist *al) | ||
1695 | { | ||
1696 | artifactlist *nextal; | ||
1697 | |||
1698 | for (al = first_artifactlist; al; al = nextal) | ||
1699 | { | ||
1700 | nextal = al->next; | ||
1701 | |||
1702 | if (al->items) | ||
1703 | free_artifact (al->items); | ||
1704 | |||
1705 | sfree (al); | ||
1706 | } | ||
1707 | } | ||
1708 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |