X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/b817bfc642225b8c3c0b6a7e42d1fb949b61a606..113e872fcc360a03f4431eedc541b08a18b9dcb7:/pixie-client.c?ds=sidebyside diff --git a/pixie-client.c b/pixie-client.c index 1597426a..73558ff6 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);