bitfury: Fix memory issues