From a8e6dab2d1f20a861df947c5705b6bbd0cb81c1a Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Thu, 23 Jun 2005 21:05:32 +0000 Subject: Rename xmalloc to mdvi_malloc to avoid libtool conflict, update year in copyright. --- (limited to 'dvi/mdvi-lib/gf.c') diff --git a/dvi/mdvi-lib/gf.c b/dvi/mdvi-lib/gf.c index 459e428..2c147ec 100644 --- a/dvi/mdvi-lib/gf.c +++ b/dvi/mdvi-lib/gf.c @@ -191,7 +191,7 @@ static int gf_read_bitmap(FILE *p, DviFontChar *ch) s = read_string(p, op - GF_XXX1 + 1, NULL, 0); DEBUG((DBG_SPECIAL, "(gf) Character %d: Special \"%s\"\n", ch->code, s)); - xfree(s); + mdvi_free(s); #else n = fugetn(p, op - GF_XXX1 + 1); fseek(p, (long)n, SEEK_CUR); @@ -362,7 +362,7 @@ badgf: error(_("%s: File corrupted, or not a GF file\n"), font->fontname); error: if(font->chars) { - xfree(font->chars); + mdvi_free(font->chars); font->chars = NULL; } font->loc = font->hic = 0; -- cgit v0.9.1