2 Commits

2 changed files with 3 additions and 1 deletions

View File

@@ -690,6 +690,7 @@ int parse_gds_from_file(const char *filename, GList **library_list)
} }
rec_type = gds_convert_unsigend_int16(workbuff); rec_type = gds_convert_unsigend_int16(workbuff);
/* if begin: Allocate structures */ /* if begin: Allocate structures */
switch (rec_type) { switch (rec_type) {
case BGNLIB: case BGNLIB:
@@ -865,7 +866,7 @@ int parse_gds_from_file(const char *filename, GList **library_list)
case STRNAME: case STRNAME:
break; break;
default: default:
GDS_WARN("Unhandled Record: %04x, len: %u", (unsigned int)rec_type, (unsigned int)rec_data_length); GDS_INF("Unhandled Record: %04x, len: %u\n", (unsigned int)rec_type, (unsigned int)rec_data_length);
break; break;
} /* switch(rec_type) */ } /* switch(rec_type) */

View File

@@ -184,6 +184,7 @@ int gds_tree_check_reference_loops(struct gds_library *lib)
if (res == 0) if (res == 0)
fprintf(stderr, "Visited cell list should be empty. This is a bug. Please report this.\n"); fprintf(stderr, "Visited cell list should be empty. This is a bug. Please report this.\n");
g_list_free(visited_cells); g_list_free(visited_cells);
visited_cells = NULL;
} }
if (res < 0) { if (res < 0) {