]> Dogcows Code - chaz/openbox/commitdiff
dont free random stuff
authorDana Jansens <danakj@orodu.net>
Tue, 29 May 2007 03:38:18 +0000 (03:38 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 29 May 2007 03:38:18 +0000 (03:38 +0000)
openbox/focus_cycle_popup.c

index 0ac274dd5f210a10db44370f214eaf1388a59e6f..8251deab3bc7580ff06ee21c8ca701cca6c27dbb 100644 (file)
@@ -406,7 +406,6 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
             const gint row = i / icons_per_row; /* starting from 0 */
             const gint col = i % icons_per_row; /* starting from 0 */
             gint innerx, innery;
-            RrPixel32 *icon_data;
 
             /* find the dimensions of the icon inside it */
             innerx = icons_center_x + l + (col * ICON_SIZE);
@@ -433,9 +432,6 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c)
             p->a_icon->surface.parentx = innerx;
             p->a_icon->surface.parenty = innery;
             RrPaint(p->a_icon, target->win, innerw, innerh);
-
-            if (target->client->iconic)
-                g_free(icon_data);
         }
     }
 
This page took 0.027808 seconds and 4 git commands to generate.