]> andersk Git - openssh.git/commitdiff
- deraadt@cvs.openbsd.org 2002/06/27 10:35:47
authormouring <mouring>
Thu, 4 Jul 2002 00:06:15 +0000 (00:06 +0000)
committermouring <mouring>
Thu, 4 Jul 2002 00:06:15 +0000 (00:06 +0000)
     [auth2-none.c monitor.c sftp-client.c]
     use xfree()

ChangeLog
auth2-none.c
monitor.c
sftp-client.c

index be8526c6ed137c0d878841abb9d530ad707bd453..e3e16aa811bb67bfcf879e8548f2de3d961e10a0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
    - deraadt@cvs.openbsd.org 2002/06/27 09:08:00
      [monitor.c]
      improve mm_zalloc check; markus ok
+   - deraadt@cvs.openbsd.org 2002/06/27 10:35:47
+     [auth2-none.c monitor.c sftp-client.c]
+     use xfree()
 
 20020702
  - (djm) Use PAM_MSG_MEMBER for PAM_TEXT_INFO messages, use xmalloc & 
index 720d3c10f13c4e39920579b6eb54c8e54c48d596..c07b2dd814883e80969e780538028d4250845cb1 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: auth2-none.c,v 1.3 2002/06/19 00:27:55 deraadt Exp $");
+RCSID("$OpenBSD: auth2-none.c,v 1.4 2002/06/27 10:35:47 deraadt Exp $");
 
 #include "auth.h"
 #include "xmalloc.h"
@@ -61,7 +61,7 @@ auth2_read_banner(void)
        close(fd);
 
        if (n != len) {
-               free(banner);
+               xfree(banner);
                return (NULL);
        }
        banner[n] = '\0';
index 1ac22782b35cc9202305517ff7aa29f67ed12a3d..148b02e51dae57949907593a4ec19c5cfc788be5 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -25,7 +25,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: monitor.c,v 1.20 2002/06/27 09:08:00 deraadt Exp $");
+RCSID("$OpenBSD: monitor.c,v 1.21 2002/06/27 10:35:47 deraadt Exp $");
 
 #include <openssl/dh.h>
 
@@ -559,7 +559,7 @@ int mm_answer_auth2_read_banner(int socket, Buffer *m)
        mm_request_send(socket, MONITOR_ANS_AUTH2_READ_BANNER, m);
 
        if (banner != NULL)
-               free(banner);
+               xfree(banner);
 
        return (0);
 }
index 10b7992d0939b5d4fc8fa8e2b893c6c2479bf1fc..c797482a8d53beed949c3aba3b0fa80837f98cef 100644 (file)
@@ -28,7 +28,7 @@
 /* XXX: copy between two remote sites */
 
 #include "includes.h"
-RCSID("$OpenBSD: sftp-client.c,v 1.33 2002/06/23 09:30:14 deraadt Exp $");
+RCSID("$OpenBSD: sftp-client.c,v 1.34 2002/06/27 10:35:47 deraadt Exp $");
 
 #include "openbsd-compat/fake-queue.h"
 
@@ -1095,7 +1095,7 @@ do_upload(struct sftp_conn *conn, char *local_path, char *remote_path,
                        debug3("In write loop, ack for %u %u bytes at %llu",
                           ack->id, ack->len, (unsigned long long)ack->offset);
                        ++ackid;
-                       free(ack);
+                       xfree(ack);
                }
                offset += len;
        }
This page took 0.150076 seconds and 5 git commands to generate.