mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02:00
- 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 */
|
/* XXX: recursive operations */
|
||||||
|
|
||||||
#include "includes.h"
|
#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 "buffer.h"
|
||||||
#include "xmalloc.h"
|
#include "xmalloc.h"
|
||||||
@ -567,6 +567,7 @@ out:
|
|||||||
xfree(abs_dst);
|
xfree(abs_dst);
|
||||||
if (tmp_dst)
|
if (tmp_dst)
|
||||||
xfree(tmp_dst);
|
xfree(tmp_dst);
|
||||||
|
globfree(&g);
|
||||||
return(err);
|
return(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user