diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-04-03 04:44:23 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-04-03 04:44:23 +0200 |
commit | 69152291e7dd83db673a85aba6a6f8d265f1871b (patch) | |
tree | 82741472351b67bb48a606cd877234cf9ce63f98 /monitor.c | |
parent | - djm@cvs.openbsd.org 2005/04/02 12:41:16 (diff) | |
download | openssh-69152291e7dd83db673a85aba6a6f8d265f1871b.tar.xz openssh-69152291e7dd83db673a85aba6a6f8d265f1871b.zip |
- (dtucker) [monitor.c] Don't free buffers in audit functions, monitor_read
will free as needed. ok tim@ djm@
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1525,7 +1525,6 @@ mm_answer_audit_event(int socket, Buffer *m) debug3("%s entering", __func__); event = buffer_get_int(m); - buffer_free(m); switch(event) { case SSH_AUTH_FAIL_PUBKEY: case SSH_AUTH_FAIL_HOSTBASED: @@ -1554,7 +1553,6 @@ mm_answer_audit_command(int socket, Buffer *m) /* sanity check command, if so how? */ audit_run_command(cmd); xfree(cmd); - buffer_free(m); return (0); } #endif /* SSH_AUDIT_EVENTS */ |