1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-22 12:49:42 +02:00

Trying to save arcs would crash fped.

- dump.c (print_obj): removed free(s2) left over from before the reduction of
  allocations



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5728 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2009-12-01 01:29:07 +00:00
parent 56371f440a
commit 1613d4bdbc

1
dump.c
View File

@ -355,7 +355,6 @@ char *print_obj(const struct obj *obj, const struct vec *prev)
s3 = obj_base_name(obj->u.arc.end, prev); s3 = obj_base_name(obj->u.arc.end, prev);
s = stralloc_printf("arc %s %s %s %s", s = stralloc_printf("arc %s %s %s %s",
base, s1, s3, s2); base, s1, s3, s2);
free(s2);
} }
free(s2); free(s2);
break; break;