… | |
… | |
315 | } |
315 | } |
316 | |
316 | |
317 | psiconv_free_application_id_section(appl_id); |
317 | psiconv_free_application_id_section(appl_id); |
318 | psiconv_free_section_table_section(table); |
318 | psiconv_free_section_table_section(table); |
319 | |
319 | |
320 | psiconv_progress(config,lev+1,off,"End of word file"); |
320 | psiconv_progress(config,lev+1,off,"End of sketch file"); |
321 | return res; |
321 | return res; |
322 | |
322 | |
323 | ERROR4: |
323 | ERROR4: |
324 | psiconv_free_application_id_section(appl_id); |
324 | psiconv_free_application_id_section(appl_id); |
325 | ERROR3: |
325 | ERROR3: |
326 | free(table); |
326 | free(table); |
327 | ERROR2: |
327 | ERROR2: |
328 | free(*result); |
328 | free(*result); |
329 | ERROR1: |
329 | ERROR1: |
330 | psiconv_warn(config,lev+1,off,"Reading of Scketch File failed"); |
330 | psiconv_warn(config,lev+1,off,"Reading of Sketch File failed"); |
331 | if (res == 0) |
331 | if (res == 0) |
332 | return -PSICONV_E_NOMEM; |
332 | return -PSICONV_E_NOMEM; |
333 | else |
333 | else |
334 | return res; |
334 | return res; |
335 | } |
335 | } |