[PATCH] expo: allocate correct ammount of memory