X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=dvi%2Fmdvi-lib%2Fsp-epsf.c;h=ca13c8645d80e077f89cd63b42df2d5c68d8bded;hb=d47bc2205d248b34dbfcdd349473f54d45d5ec70;hp=de08482a7bf3baa102b8211723f18bb724e4fae3;hpb=c3e1500a4815225f08e1b20dd066559e8c92c280;p=evince.git diff --git a/dvi/mdvi-lib/sp-epsf.c b/dvi/mdvi-lib/sp-epsf.c index de08482a..ca13c864 100644 --- a/dvi/mdvi-lib/sp-epsf.c +++ b/dvi/mdvi-lib/sp-epsf.c @@ -235,14 +235,14 @@ void epsf_special(DviContext *dvi, char *prefix, char *arg) { char *file; char *special; - EpsfBox box; + EpsfBox box = {0, 0, 0, 0}; int x, y; int w, h; double xf, vf; file = parse_epsf_special(&box, &special, prefix, arg); if(file != NULL) - xfree(special); + mdvi_free(special); /* * draw the bounding box. Notice that it is in PostScript units, * so we have to convert it into pixels