aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/child_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r--winsup/cygwin/child_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h
index 8e76ca3..afea34b 100644
--- a/winsup/cygwin/child_info.h
+++ b/winsup/cygwin/child_info.h
@@ -87,6 +87,10 @@ public:
{
if (moreinfo->old_title)
cfree (moreinfo->old_title);
+ if (moreinfo->cwd_posix)
+ cfree (moreinfo->cwd_posix);
+ if (moreinfo->cwd_win32)
+ cfree (moreinfo->cwd_win32);
if (moreinfo->environ)
{
for (char **e = moreinfo->environ; *e; e++)