diff --git a/src/util/virbitmap.c b/src/util/virbitmap.c index 0973731e3ab064e176c6d5a6a7546302052913c3..d1e5a9d1eacfd298a370dbd9bf8a02d037ee3a90 100644 --- a/src/util/virbitmap.c +++ b/src/util/virbitmap.c @@ -1317,5 +1317,6 @@ virBitmapShrink(virBitmapPtr map, return -1; map->map_len = nl; + map->map_alloc = nl; return 0; }