/* -*-c-*-
*
- * $Id: pixie-client.c,v 1.2 2000/06/17 11:49:37 mdw Exp $
+ * $Id$
*
* Simple passphrase pixie client (Unix-specific)
*
* 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 <errno.h>
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);