Index: plug_io.h =================================================================== --- plug_io.h (revision 31261) +++ plug_io.h (revision 31262) @@ -158,7 +158,10 @@ the head item is converted into a footprint library */ void pcb_io_fp_map_append(pcb_plug_fp_map_t **tail, pcb_plug_fp_map_t *head, const char *filename, const char *fpname); +/* Free a map with a statically allocated head */ +void pcb_io_fp_map_free(pcb_plug_fp_map_t *head); + /********** common function used to be part of file.[ch] and friends **********/ int pcb_save_pcb(const char *, const char *fmt); #define PCB_INHIBIT_BOARD_CHANGED 0x20