… | |
… | |
134 | psiconv_progress(config,lev+3,off,"Going to read clipart section %i",i); |
134 | psiconv_progress(config,lev+3,off,"Going to read clipart section %i",i); |
135 | if ((res = psiconv_parse_clipart_section(config,buf,lev+3,*entry,NULL,&clipart))) |
135 | if ((res = psiconv_parse_clipart_section(config,buf,lev+3,*entry,NULL,&clipart))) |
136 | goto ERROR4; |
136 | goto ERROR4; |
137 | if ((res = psiconv_list_add((*result)->sections,clipart))) |
137 | if ((res = psiconv_list_add((*result)->sections,clipart))) |
138 | goto ERROR5; |
138 | goto ERROR5; |
|
|
139 | free(clipart); |
139 | } |
140 | } |
140 | |
141 | |
141 | psiconv_free_jumptable_section(table); |
142 | psiconv_free_jumptable_section(table); |
142 | psiconv_progress(config,lev+1,off,"End of clipart file"); |
143 | psiconv_progress(config,lev+1,off,"End of clipart file"); |
143 | return res; |
144 | return res; |
… | |
… | |
199 | if ((res = psiconv_parse_paint_data_section(config,buf,lev+3,*entry,NULL, |
200 | if ((res = psiconv_parse_paint_data_section(config,buf,lev+3,*entry,NULL, |
200 | 0,&paint))) |
201 | 0,&paint))) |
201 | goto ERROR4; |
202 | goto ERROR4; |
202 | if ((res = psiconv_list_add((*result)->sections,paint))) |
203 | if ((res = psiconv_list_add((*result)->sections,paint))) |
203 | goto ERROR5; |
204 | goto ERROR5; |
|
|
205 | free(paint); |
204 | } |
206 | } |
205 | |
207 | |
206 | psiconv_free_jumptable_section(table); |
208 | psiconv_free_jumptable_section(table); |
207 | psiconv_progress(config,lev+1,off,"End of mbm file"); |
209 | psiconv_progress(config,lev+1,off,"End of mbm file"); |
208 | return 0; |
210 | return 0; |