Index: trunk/src_plugins/io_bxl/read.c =================================================================== --- trunk/src_plugins/io_bxl/read.c (revision 31255) +++ trunk/src_plugins/io_bxl/read.c (revision 31256) @@ -803,7 +803,6 @@ char *sep, *autofree = NULL; const char *subfpname = NULL; pcb_plug_fp_map_t *m, *map = NULL, *best, head = {0}; - int res = -1; sep = strstr(Filename, "::"); @@ -834,6 +833,8 @@ fclose(f); subfpname = pcb_fp_map_choose(&PCB->hidlib, map); + if (subfpname == NULL) + goto end; } else { size_t offs = sep - Filename;