comparison cli-authpubkey.c @ 420:7f010e3b1802

Remove double-free due to the same "fix" for a leak getting merged in twice.
author Matt Johnston <matt@ucc.asn.au>
date Sun, 11 Feb 2007 10:46:44 +0000
parents b895f91c2ee6
children c1e9c81d1d27 9e51707cd6f2
comparison
equal deleted inserted replaced
418:ab57ba0cb667 420:7f010e3b1802
121 send_msg_userauth_pubkey(keyitem->key, keytype, 1); 121 send_msg_userauth_pubkey(keyitem->key, keytype, 1);
122 } else { 122 } else {
123 TRACE(("That was whacky. We got told that a key was valid, but it didn't match our list. Sounds like dodgy code on Dropbear's part")) 123 TRACE(("That was whacky. We got told that a key was valid, but it didn't match our list. Sounds like dodgy code on Dropbear's part"))
124 } 124 }
125 125
126 buf_free(keybuf);
127
128 TRACE(("leave recv_msg_userauth_pk_ok")) 126 TRACE(("leave recv_msg_userauth_pk_ok"))
129 } 127 }
130 128
131 /* TODO: make it take an agent reference to use as well */ 129 /* TODO: make it take an agent reference to use as well */
132 static void send_msg_userauth_pubkey(sign_key *key, int type, int realsign) { 130 static void send_msg_userauth_pubkey(sign_key *key, int type, int realsign) {