]> Dogcows Code - chaz/openbox/commitdiff
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 83c59030b4da3156735e1c33548811d5e2739fe4..9fbd0b2a4ad63a8aaa061b8542747b31e3a77e96 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);
     }
 }
 
This page took 0.025182 seconds and 4 git commands to generate.