X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/95959d1099b58690f2d490d22bfbbfc678380964..65802cb13c3ad5a26e4cf660dc5ebde42962aa89:/pixie-client.c diff --git a/pixie-client.c b/pixie-client.c index f1b8678..73558ff 100644 --- a/pixie-client.c +++ b/pixie-client.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: pixie-client.c,v 1.2 2000/06/17 11:49:37 mdw Exp $ + * $Id$ * * Simple passphrase pixie client (Unix-specific) * @@ -27,18 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: pixie-client.c,v $ - * Revision 1.2 2000/06/17 11:49:37 mdw - * New pixie protocol allowing application to request passphrases and send - * them to the pixie. - * - * Revision 1.1 1999/12/22 15:58:41 mdw - * Passphrase pixie support. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -85,13 +73,13 @@ int pixie_open(const char *sock) sun = pixie_address(sock, &sz); if (connect(fd, (struct sockaddr *)sun, sz)) goto fail_1; - free(sun); + xfree(sun); return (fd); /* --- Tidy up if things went wrong --- */ fail_1: - free(sun); + xfree(sun); close(fd); fail_0: return (-1);