summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-04 01:53:20 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-04 01:53:20 +0000
commit86ebcb6cf55ea296a7921d157afdc03c07102933 (patch)
tree2ddf966aaf886d22d194a2136cf0ad944b7bd693 /ssh-agent.c
parent0d3e8fafa46441d448cee87a0dc8f9274d137ba4 (diff)
- stevesk@cvs.openbsd.org 2001/04/03 13:56:11
[sftp-glob.c ssh-agent.c ssh-keygen.c] free() -> xfree()
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 6a0c0d07f..e8362ded0 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-agent.c,v 1.53 2001/03/26 23:23:24 markus Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.54 2001/04/03 13:56:11 stevesk Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -37,7 +37,7 @@
37 */ 37 */
38 38
39#include "includes.h" 39#include "includes.h"
40RCSID("$OpenBSD: ssh-agent.c,v 1.53 2001/03/26 23:23:24 markus Exp $"); 40RCSID("$OpenBSD: ssh-agent.c,v 1.54 2001/04/03 13:56:11 stevesk Exp $");
41 41
42#include <openssl/evp.h> 42#include <openssl/evp.h>
43#include <openssl/md5.h> 43#include <openssl/md5.h>
@@ -563,9 +563,9 @@ prepare_select(fd_set **fdrp, fd_set **fdwp, int *fdl)
563 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask); 563 sz = howmany(n+1, NFDBITS) * sizeof(fd_mask);
564 if (*fdrp == NULL || n > *fdl) { 564 if (*fdrp == NULL || n > *fdl) {
565 if (*fdrp) 565 if (*fdrp)
566 free(*fdrp); 566 xfree(*fdrp);
567 if (*fdwp) 567 if (*fdwp)
568 free(*fdwp); 568 xfree(*fdwp);
569 *fdrp = xmalloc(sz); 569 *fdrp = xmalloc(sz);
570 *fdwp = xmalloc(sz); 570 *fdwp = xmalloc(sz);
571 *fdl = n; 571 *fdl = n;