Fix small memory leak in get bucket properties call