[cairo-commit] libsvg/src svg_parser.c,1.30,1.31

Carl Worth commit at pdx.freedesktop.org
Tue May 4 12:01:13 PDT 2004


Committed by: cworth

Update of /cvs/cairo/libsvg/src
In directory pdx:/tmp/cvs-serv31198/src

Modified Files:
	svg_parser.c 
Log Message:

        (_svg_parser_sax_characters): Patch memory leak.


Index: svg_parser.c
===================================================================
RCS file: /cvs/cairo/libsvg/src/svg_parser.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** a/svg_parser.c	4 May 2004 16:18:07 -0000	1.30
--- b/svg_parser.c	4 May 2004 19:01:10 -0000	1.31
***************
*** 486,489 ****
--- 486,492 ----
      }
  
+     free (ch_copy);
+     ch_copy = NULL;
+ 
      return;
  }





More information about the cairo-commit mailing list