/[public]/psiconv/trunk/lib/psiconv/parse_word.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/parse_word.c

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

Revision 217 Revision 270
1/* 1/*
2 parse_word.c - Part of psiconv, a PSION 5 file formats converter 2 parse_word.c - Part of psiconv, a PSION 5 file formats converter
3 Copyright (c) 1999-2004 Frodo Looijaard <frodol@dds.nl> 3 Copyright (c) 1999-2005 Frodo Looijaard <frodo@frodo.looijaard.name>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
353ERROR6: 353ERROR6:
354 free(style->name); 354 free(style->name);
355ERROR5: 355ERROR5:
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);

Legend:
Removed from v.217  
changed lines
  Added in v.270

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