mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 11:56:15 +02:00
eeshow/sch-parse.c (recurse_sheet): sheet->title must be malloc'ed
This commit is contained in:
parent
93b7269a3e
commit
c00f065993
@ -332,7 +332,7 @@ static struct sheet *recurse_sheet(struct sch_ctx *ctx,
|
||||
if (!other->has_children &&
|
||||
file_oid_eq(other->oid, oid)) {
|
||||
ctx->curr_sheet = parent;
|
||||
sheet->title = other->title;
|
||||
sheet->title = stralloc(other->title);
|
||||
sheet->objs = other->objs;
|
||||
return sheet;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user