mem leak
authorDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 21:27:45 +0000 (21:27 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 21:27:45 +0000 (21:27 +0000)
openbox/client.c

index 83c5903..9fbd0b2 100644 (file)
@@ -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);
     }
 }