test_extents: fix a possible memory leak

Addresses-Coverity-Bug: #1049185

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
maint-test
Theodore Ts'o 2014-01-05 01:12:49 -05:00 committed by Theodore Ts'o
parent ece2d5884b
commit c2c69597ab
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,8 @@ void do_test(FILE *in, FILE *out)
} else
fputs("# Syntax error\n", out);
}
if (extent)
ext2fs_free_extent_table(extent);
}
#ifdef __GNUC__