don't check for != NULL before freeing. pointless

This commit is contained in:
Dana Jansens 2003-03-21 10:34:44 +00:00
parent d33dce4827
commit d4601cd034

View file

@ -446,7 +446,6 @@ void screen_update_struts()
GSList *it;
guint i;
if (strut != NULL)
g_free(strut);
strut = g_new0(Strut, screen_num_desktops + 1);
@ -472,7 +471,6 @@ static void screen_update_area()
guint i;
gulong *dims;
if (area != NULL)
g_free(area);
area = g_new0(Rect, screen_num_desktops + 1);