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:
@ -54,7 +54,5 @@ int main(int argc, char* argv[])
|
|||||||
TestLRUStorage test(&cout);
|
TestLRUStorage test(&cout);
|
||||||
int rv = test.run(argc, argv);
|
int rv = test.run(argc, argv);
|
||||||
|
|
||||||
// TODO: Remove this once globally allocated memory is freed
|
|
||||||
MXS_FREE(libdir);
|
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,7 +54,5 @@ int main(int argc, char* argv[])
|
|||||||
TestRawStorage test(&cout);
|
TestRawStorage test(&cout);
|
||||||
int rv = test.run(argc, argv);
|
int rv = test.run(argc, argv);
|
||||||
|
|
||||||
// TODO: Remove this once globally allocated memory is freed
|
|
||||||
MXS_FREE(libdir);
|
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user