Merge branch 'sb/test-bitmap-free-at-end'

An earlier leakfix to bitmap testing code was incomplete.

* sb/test-bitmap-free-at-end:
  test_bitmap_walk: free bitmap with bitmap_free
maint
Junio C Hamano 2015-06-01 12:45:21 -07:00
commit 3dc5ce0a56
1 changed files with 1 additions and 1 deletions

View File

@ -985,7 +985,7 @@ void test_bitmap_walk(struct rev_info *revs)
else
fprintf(stderr, "Mismatch!\n");

free(result);
bitmap_free(result);
}

static int rebuild_bitmap(uint32_t *reposition,