MXS-1830 Remove erroneous free
The libdir is set elsewhere as well, which causes the set buffer to be freed. Consequently it cannot be freed.
This commit is contained in:
parent
9cf44b3092
commit
08230ef24c
@ -54,7 +54,5 @@ int main(int argc, char* argv[])
|
||||
TestLRUStorage test(&cout);
|
||||
int rv = test.run(argc, argv);
|
||||
|
||||
// TODO: Remove this once globally allocated memory is freed
|
||||
MXS_FREE(libdir);
|
||||
return rv;
|
||||
}
|
||||
|
@ -54,7 +54,5 @@ int main(int argc, char* argv[])
|
||||
TestRawStorage test(&cout);
|
||||
int rv = test.run(argc, argv);
|
||||
|
||||
// TODO: Remove this once globally allocated memory is freed
|
||||
MXS_FREE(libdir);
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user