encdedstreamtest: fix use-after-free compile error with gcc-12
This commit is contained in:
parent
1f59c69cd1
commit
2b2c804500
@ -113,8 +113,8 @@ protected:
|
||||
EXPECT_EQ(expected, actual);
|
||||
}
|
||||
EXPECT_EQ('\0', s.Peek());
|
||||
free(data);
|
||||
EXPECT_EQ(size, eis.Tell());
|
||||
free(data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user