leo: allocate memory for fb

Signed-off-by: Nathan Chan <e334cn@gmail.com>