mirror of https://github.com/ecmwf/eccodes.git
Testing: Memory leaks
This commit is contained in:
parent
8151a1b565
commit
04227ab007
|
@ -117,6 +117,7 @@ int main(int argc, char** argv)
|
|||
void* runner(void* ptr)
|
||||
{
|
||||
do_encode(ptr);
|
||||
free(ptr);
|
||||
pthread_exit(0);
|
||||
}
|
||||
|
||||
|
|
|
@ -169,6 +169,7 @@ int main(int argc, char** argv)
|
|||
void* runner(void* ptr)
|
||||
{
|
||||
do_stuff(ptr);
|
||||
free(ptr);
|
||||
pthread_exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue