Message-ID: <55B9124F.6020501@oracle.com>
index 0735be9..ed544bf 100644
@@ -223,7 +223,7 @@
nv_scan(shp->track_tree,rehash,(void*)0,NV_TAGGED,NV_TAGGED);
path_newdir(shp,shp->pathlist);
path_newdir(shp,shp->cdpathlist);
- if(oldpwd)
+ if(oldpwd && (oldpwd!=e_dot))
free(oldpwd);
return(0);
}