mirror of git://anongit.mindrot.org/openssh.git
- mouring@cvs.openbsd.org 2003/04/14 21:31:27
[sftp-int.c] Missing globfree(&g) in process_put() spotted by Vince Brimhall <VBrimhall@novell.com>. ok@ Theo
This commit is contained in:
parent
2372ace572
commit
5d421c04e6
|
@ -25,7 +25,7 @@
|
|||
/* XXX: recursive operations */
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: sftp-int.c,v 1.57 2003/03/05 22:33:43 markus Exp $");
|
||||
RCSID("$OpenBSD: sftp-int.c,v 1.58 2003/04/14 21:31:27 mouring Exp $");
|
||||
|
||||
#include "buffer.h"
|
||||
#include "xmalloc.h"
|
||||
|
@ -567,6 +567,7 @@ out:
|
|||
xfree(abs_dst);
|
||||
if (tmp_dst)
|
||||
xfree(tmp_dst);
|
||||
globfree(&g);
|
||||
return(err);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue