diff options
Diffstat (limited to 'gzlib.c')
-rw-r--r-- | gzlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ local gzFile gz_open(path, fd, mode) | |||
186 | 186 | ||
187 | /* save the path name for error messages */ | 187 | /* save the path name for error messages */ |
188 | # define WPATH "<widepath>" | 188 | # define WPATH "<widepath>" |
189 | state->path = malloc(strlen(fd == -2 ? WPATH : (path) + 1); | 189 | state->path = malloc(strlen(fd == -2 ? WPATH : path) + 1); |
190 | if (state->path == NULL) { | 190 | if (state->path == NULL) { |
191 | free(state); | 191 | free(state); |
192 | return NULL; | 192 | return NULL; |