.footnotes = xmemdup (old->footnotes,
old->n_footnotes * sizeof *old->footnotes),
.n_footnotes = old->n_footnotes,
+ .style = cell_style_clone (old->style),
};
return new;
}
{
free (text->content);
free (text->footnotes);
+ cell_style_free (text->style);
free (text);
}
}