X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/47854c5fdbdebaf707de438f0fa86c4cb99d2268..f74f4f32805a96d5079b90455264a160d91be3af:/lib/client-common.c?ds=inline diff --git a/lib/client-common.c b/lib/client-common.c index c55da89..d5c61ce 100644 --- a/lib/client-common.c +++ b/lib/client-common.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell + * Copyright (C) 2004, 2005, 2006, 2007, 2009 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -63,6 +63,7 @@ socklen_t find_server(struct config *c, strcpy(su.sun_path, name); sa = (struct sockaddr *)&su; len = sizeof su; + xfree(name); } *sap = xmalloc_noptr(len); memcpy(*sap, sa, len);