diff options
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index d6c386075..5c329e33f 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -380,6 +380,7 @@ class path_conv cfree (modifiable_path ()); char *new_path = (char *) cmalloc_abort (HEAP_STR, strlen (p) + 7); strcpy (new_path, p); + cfree_and_null (wide_path); return path = new_path; } bool is_binary (); |