mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 14:20:04 +00:00
Refix dlclose_leak.c test.
By introducing an extra line to declare int i; we broke the expected line numbers in the test. Just declare i on the same line as the for loop.
This commit is contained in:
@@ -11,8 +11,7 @@ char* (*alloc_1_byte)(void);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < 2; ++i)
|
||||
int i; for (i = 0; i < 2; ++i)
|
||||
{
|
||||
char* memToLeak;
|
||||
char x __attribute__((unused));
|
||||
|
||||
Reference in New Issue
Block a user