summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index c5b10e3c7..ef6cac44e 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -293,6 +293,11 @@ class path_conv
wide_path = NULL;
return *this;
}
+ void free_strings ()
+ {
+ cfree (modifiable_path ());
+ cfree ((char *) normalized_path);
+ }
DWORD get_devn () const {return dev.devn;}
short get_unitn () const {return dev.minor;}
DWORD file_attributes () const {return fileattr;}