X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b817bfc642225b8c3c0b6a7e42d1fb949b61a606..65802cb13c3ad5a26e4cf660dc5ebde42962aa89:/pixie-client.c diff --git a/pixie-client.c b/pixie-client.c index 1597426..73558ff 100644 --- a/pixie-client.c +++ b/pixie-client.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: pixie-client.c,v 1.3 2004/04/08 01:36:15 mdw Exp $ + * $Id$ * * Simple passphrase pixie client (Unix-specific) * @@ -73,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);