… | |
… | |
488 | { |
488 | { |
489 | if (section) |
489 | if (section) |
490 | free(section); |
490 | free(section); |
491 | } |
491 | } |
492 | |
492 | |
493 | void psiconv_free_object(psiconv_object object) |
493 | void psiconv_free_embedded_object_section |
|
|
494 | (psiconv_embedded_object_section object) |
494 | { |
495 | { |
495 | if (object) { |
496 | if (object) { |
496 | psiconv_free_object_icon_section(object->icon); |
497 | psiconv_free_object_icon_section(object->icon); |
497 | psiconv_free_object_display_section(object->display); |
498 | psiconv_free_object_display_section(object->display); |
498 | psiconv_free_file(object->object); |
499 | psiconv_free_file(object->object); |
… | |
… | |
501 | } |
502 | } |
502 | |
503 | |
503 | void psiconv_free_in_line_layout_aux(void * layout) |
504 | void psiconv_free_in_line_layout_aux(void * layout) |
504 | { |
505 | { |
505 | psiconv_free_character_layout(((psiconv_in_line_layout) layout)->layout); |
506 | psiconv_free_character_layout(((psiconv_in_line_layout) layout)->layout); |
506 | psiconv_free_object(((psiconv_in_line_layout) layout)->object); |
507 | psiconv_free_embedded_object_section |
|
|
508 | (((psiconv_in_line_layout) layout)->object); |
507 | } |
509 | } |
508 | |
510 | |
509 | void psiconv_free_in_line_layout(psiconv_in_line_layout layout) |
511 | void psiconv_free_in_line_layout(psiconv_in_line_layout layout) |
510 | { |
512 | { |
511 | if (layout) { |
513 | if (layout) { |