diff options
Diffstat (limited to 'cursor/xcursor.c')
-rw-r--r-- | cursor/xcursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cursor/xcursor.c b/cursor/xcursor.c index 1f66bce..7a9662a 100644 --- a/cursor/xcursor.c +++ b/cursor/xcursor.c @@ -757,7 +757,7 @@ _XcursorThemeInherits (const char *full) if (*l != '=') continue; l++; while (*l == ' ') l++; - result = malloc (strlen (l)); + result = malloc (strlen (l) + 1); if (result) { r = result; |