]> git.pld-linux.org Git - packages/X11.git/blob - X11-xft_memfree.patch
- another try
[packages/X11.git] / X11-xft_memfree.patch
1 diff -aurN xc.orig/lib/Xft/xftfreetype.c xc/lib/Xft/xftfreetype.c
2 --- xc.orig/lib/Xft/xftfreetype.c       2004-08-12 01:37:34.000000000 +0200
3 +++ xc/lib/Xft/xftfreetype.c    2005-03-28 23:05:32.300707656 +0200
4 @@ -290,7 +290,7 @@
5             FT_Done_Face (f->face);
6      }
7      XftMemFree (XFT_MEM_FILE,
8 -               sizeof (XftFtFile) + f->file ? strlen (f->file) + 1 : 0);
9 +               sizeof (XftFtFile) + (f->file ? strlen (f->file) + 1 : 0));
10      free (f);
11  }
12  
This page took 0.021911 seconds and 3 git commands to generate.