]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sftp.h
Fix major memory leak in sftp_cmd_ls (thanks to Hans-Juergen Petrich
[PuTTY.git] / sftp.h
diff --git a/sftp.h b/sftp.h
index b48ee64f0571383b02ca960164c5938716c0dc01..8f671ad7eda37152c5a1fce6f431d49b9259ed51 100644 (file)
--- a/sftp.h
+++ b/sftp.h
@@ -174,3 +174,9 @@ struct fxp_names *fxp_readdir(struct fxp_handle *handle);
  * Free up an fxp_names structure.
  */
 void fxp_free_names(struct fxp_names *names);
+
+/*
+ * Duplicate and free fxp_name structures.
+ */
+struct fxp_name *fxp_dup_name(struct fxp_name *name);
+void fxp_free_name(struct fxp_name *name);