diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rc/checkpath.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c index bab22692..c4dd7d9d 100644 --- a/src/rc/checkpath.c +++ b/src/rc/checkpath.c @@ -151,7 +151,7 @@ static char *clean_path(char *path)  	char *ch;  	char *ch2;  	char *str; -	str = xmalloc(strlen(path)); +	str = xmalloc(strlen(path) + 1);  	ch = path;  	ch2 = str;  	while (true) { | 
