/[public]/psiconv/tags/rel-0-9-9/lib/psiconv/data.c
ViewVC logotype

Diff of /psiconv/tags/rel-0-9-9/lib/psiconv/data.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 196 Revision 240
447 psiconv_free_style_aux(style); 447 psiconv_free_style_aux(style);
448 free(style); 448 free(style);
449 } 449 }
450} 450}
451 451
452void psiconv_free_word_style_list(psiconv_word_style_list style_list)
453{
454 if (style_list)
455 psiconv_list_free_el(style_list,psiconv_free_style_aux);
456}
457
452void psiconv_free_word_styles_section(psiconv_word_styles_section styles) 458void psiconv_free_word_styles_section(psiconv_word_styles_section styles)
453{ 459{
454 if (styles) { 460 if (styles) {
455 psiconv_free_word_style(styles->normal); 461 psiconv_free_word_style(styles->normal);
456 if (styles->styles) 462 psiconv_free_word_style_list(styles->styles);
457 psiconv_list_free_el(styles->styles,psiconv_free_style_aux);
458 free(styles); 463 free(styles);
459 } 464 }
460} 465}
461 466
462void psiconv_free_header_section(psiconv_header_section header) 467void psiconv_free_header_section(psiconv_header_section header)
893} 898}
894 899
895void psiconv_free_clipart_section_aux(void *section) 900void psiconv_free_clipart_section_aux(void *section)
896{ 901{
897 if (section) 902 if (section)
898 free(((psiconv_clipart_section ) section)->picture); 903 psiconv_free_paint_data_section(((psiconv_clipart_section) section)->picture);
899} 904}
900 905
901void psiconv_free_clipart_section(psiconv_clipart_section section) 906void psiconv_free_clipart_section(psiconv_clipart_section section)
902{ 907{
903 if (section) { 908 if (section) {

Legend:
Removed from v.196  
changed lines
  Added in v.240

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26