Fix idiotic bug: we must initialize memory on the stack.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
Pierre Habouzit 2008-06-23 01:10:12 +02:00 committed by Julien Danjou
parent 7b7af60dcd
commit c05e88959b
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ placement_smart(client_t *c)
bool found = false;
layout_t *layout;
area_array_init(&areas);
screen_geometry = screen_area_get(c->screen,
globalconf.screens[c->screen].statusbar,
&globalconf.screens[c->screen].padding);