From f03eef279530d271640a6e146dc4d651921af3dd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 May 2007 21:27:45 +0000 Subject: [PATCH] mem leak --- openbox/client.c | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- 2.44.0