updates.
[silc.git] / lib / silcclient / client_keyagr.c
index b23f6550698659d32e7dac01fdd08d8cda3a849d..336ea5b77dbef6a407f4c171bb2e770a1293538e 100644 (file)
@@ -357,7 +357,7 @@ void silc_client_send_key_agreement(SilcClient client,
   silc_client_packet_send(client, sock, SILC_PACKET_KEY_AGREEMENT,
                          client_entry->id, SILC_ID_CLIENT, NULL, NULL,
                          buffer->data, buffer->len, FALSE);
-  silc_free(buffer);
+  silc_buffer_free(buffer);
 }
 
 static int