X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=dvi%2Fmdvi-lib%2Fgf.c;h=2c147ec666648d2c649f3f75cda877a945eb058c;hb=07ae50430dd7dda3d9304f3836d2a58f011b9d4d;hp=459e428eced295333f53847b0c6274c401fd085d;hpb=c3e1500a4815225f08e1b20dd066559e8c92c280;p=evince.git diff --git a/dvi/mdvi-lib/gf.c b/dvi/mdvi-lib/gf.c index 459e428e..2c147ec6 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;