mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +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:
parent
400ad0e36e
commit
190c93d454
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user