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

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

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

Revision 110 Revision 143
23#include <stdlib.h> 23#include <stdlib.h>
24#include <math.h> 24#include <math.h>
25 25
26#include "parse_routines.h" 26#include "parse_routines.h"
27#include "error.h" 27#include "error.h"
28
29#ifdef DMALLOC
30#include <dmalloc.h>
31#endif
32
28 33
29int psiconv_parse_color(const psiconv_buffer buf, int lev, psiconv_u32 off, 34int psiconv_parse_color(const psiconv_buffer buf, int lev, psiconv_u32 off,
30 int *length, psiconv_color *result) 35 int *length, psiconv_color *result)
31{ 36{
32 int res = 0; 37 int res = 0;
577 goto ERROR1; 582 goto ERROR1;
578 if ((res = psiconv_list_add(result->tabs->extras,temp_tab))) { 583 if ((res = psiconv_list_add(result->tabs->extras,temp_tab))) {
579 psiconv_free_tab(temp_tab); 584 psiconv_free_tab(temp_tab);
580 goto ERROR1; 585 goto ERROR1;
581 } 586 }
587 psiconv_free_tab(temp_tab);
582 len += leng; 588 len += leng;
583 break; 589 break;
584 default: 590 default:
585 psiconv_warn(lev+3,off+len, 591 psiconv_warn(lev+3,off+len,
586 "Unknown code in paragraph layout codes list"); 592 "Unknown code in paragraph layout codes list");

Legend:
Removed from v.110  
changed lines
  Added in v.143

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