diff --git a/eeshow/sch-parse.c b/eeshow/sch-parse.c index 192866a..12b8e88 100644 --- a/eeshow/sch-parse.c +++ b/eeshow/sch-parse.c @@ -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; }