diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.c b/src/library.c index f08e8f0..fd040ce 100644 --- a/src/library.c +++ b/src/library.c @@ -180,7 +180,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; |