--- psiconv/trunk/lib/psiconv/data.c 1999/12/03 00:59:12 41 +++ psiconv/trunk/lib/psiconv/data.c 1999/12/03 23:13:55 42 @@ -34,7 +34,7 @@ static void psiconv_free_in_line_layout_aux(void * layout); static void psiconv_free_paragraph_aux(void * paragraph); static void psiconv_free_paint_data_section_aux(void * section); -static void psiconv_free_clipart_section_aux(psiconv_clipart_section section); +static void psiconv_free_clipart_section_aux(void * section); psiconv_character_layout psiconv_basic_character_layout(void) { @@ -484,7 +484,7 @@ psiconv_list_free_el(section,&psiconv_free_paint_data_section_aux); } -void psiconv_free_mbm_jumptable_section (psiconv_mbm_jumptable_section section) +void psiconv_free_jumptable_section (psiconv_jumptable_section section) { if (section) psiconv_list_free(section); @@ -514,10 +514,10 @@ } } -void psiconv_free_clipart_section_aux(psiconv_clipart_section section) +void psiconv_free_clipart_section_aux(void *section) { if (section) - free(section->picture); + free(((psiconv_clipart_section ) section)->picture); } void psiconv_free_clipart_section(psiconv_clipart_section section) @@ -554,7 +554,7 @@ else if (file->type == psiconv_sketch_file) psiconv_free_sketch_f((psiconv_sketch_f) file->file); else if (file->type == psiconv_clipart_file) - psiconv_free_sketch_f((psiconv_clipart_f) file->file); + psiconv_free_clipart_f((psiconv_clipart_f) file->file); free(file); } }