[cairo-commit] cairo/src cairo_font.c,1.21,1.22

David Reveman commit at pdx.freedesktop.org
Fri Jul 16 10:25:33 PDT 2004


Committed by: davidr

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

Modified Files:
	cairo_font.c 
Log Message:
Fixed typo in earlier memory leak fix

Index: cairo_font.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_font.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** cairo_font.c	15 Jul 2004 20:38:21 -0000	1.21
--- cairo_font.c	16 Jul 2004 17:25:31 -0000	1.22
***************
*** 32,35 ****
--- 32,38 ----
  
  static void
+ _cairo_glyph_cache_destroy (cairo_glyph_cache_t *glyph_cache);
+ 
+ static void
  _cairo_glyph_cache_reference (cairo_glyph_cache_t *glyph_cache);
  
***************
*** 84,88 ****
  
      if (newfont->glyph_cache)
! 	_cairo_glyph_cache_destroy (font->glyph_cache);
      
      newfont->glyph_cache = font->glyph_cache;
--- 87,91 ----
  
      if (newfont->glyph_cache)
! 	_cairo_glyph_cache_destroy (newfont->glyph_cache);
      
      newfont->glyph_cache = font->glyph_cache;




More information about the cairo-commit mailing list