diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-01 12:16:23 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-01 12:16:56 +0100 |
commit | bee68e54e5c3a4b9f46c81366a720531e3e07a82 (patch) | |
tree | f3d76a49e9f5dbdb594bb34101268e5ca14086a4 /src/xlib.c | |
parent | f49e7e1608f2dac140f60bcae21d5c37f79fc41b (diff) |
Free the FontInfo structure after loading the cursor from it.
References: https://bugs.freedesktop.org/show_bug.cgi?id=2731
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/xlib.c')
-rw-r--r-- | src/xlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -64,6 +64,7 @@ _XcursorFontIsCursor (Display *dpy, Font font) ret = (fs->properties[n].card32 == cursor); break; } + XFreeFontInfo (NULL, fs, 1); } fi = malloc (sizeof (XcursorFontInfo)); if (fi) |