From: Dana Jansens Date: Wed, 9 May 2007 21:27:45 +0000 (+0000) Subject: mem leak X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f03eef279530d271640a6e146dc4d651921af3dd;p=chaz%2Fopenbox mem leak --- diff --git a/openbox/client.c b/openbox/client.c index 83c59030..9fbd0b2a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2199,6 +2199,8 @@ static void client_get_session_ids(ObClient *self) localhost[127] = '\0'; if (strcmp(localhost, s) != 0) self->client_machine = s; + else + g_free(s); } }