leo: allocate memory for fb

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