diff options
Diffstat (limited to 'lib/libXcursor/src/display.c')
-rw-r--r-- | lib/libXcursor/src/display.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libXcursor/src/display.c b/lib/libXcursor/src/display.c index c29680716..bcf99644d 100644 --- a/lib/libXcursor/src/display.c +++ b/lib/libXcursor/src/display.c @@ -35,6 +35,13 @@ _XcursorFreeDisplayInfo (XcursorDisplayInfo *info) if (info->theme_from_config) free (info->theme_from_config); + while (info->fonts) + { + XcursorFontInfo *fi = info->fonts; + info->fonts = fi->next; + free (fi); + } + free (info); } |