lftp/lftp-3.4.2-fix-redirect-coredump.patch
2006-02-16 16:46:46 +00:00

12 lines
313 B
Diff

--- lftp-3.4.2/src/FileAccess.cc.bz181694 2006-02-06 06:03:58.000000000 -0500
+++ lftp-3.4.2/src/FileAccess.cc 2006-02-16 11:34:44.000000000 -0500
@@ -690,7 +690,7 @@
void FileAccess::PathVerify(const Path &p)
{
- delete new_cwd;
+ Close();
new_cwd=new Path(p);
Open(new_cwd->path,CHANGE_DIR);
}