… | |
… | |
353 | ERROR6: |
353 | ERROR6: |
354 | free(style->name); |
354 | free(style->name); |
355 | ERROR5: |
355 | ERROR5: |
356 | for (j = 0; j < i ;j++) { |
356 | for (j = 0; j < i ;j++) { |
357 | if (!(style = psiconv_list_get((*result)->styles,j))) { |
357 | if (!(style = psiconv_list_get((*result)->styles,j))) { |
358 | psiconv_error(config,lev+1,off,"Massive memory corruption"); |
358 | psiconv_error(config,lev+1,off,"Data structure corruption"); |
359 | goto ERROR4; |
359 | goto ERROR4; |
360 | } |
360 | } |
361 | psiconv_free_character_layout(style->character); |
361 | psiconv_free_character_layout(style->character); |
362 | psiconv_free_paragraph_layout(style->paragraph); |
362 | psiconv_free_paragraph_layout(style->paragraph); |
363 | free(style->name); |
363 | free(style->name); |