Testing: Memory leaks

This commit is contained in:
Shahram Najm 2020-03-30 18:14:43 +01:00
parent 8151a1b565
commit 04227ab007
2 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,7 @@ int main(int argc, char** argv)
void* runner(void* ptr)
{
do_encode(ptr);
free(ptr);
pthread_exit(0);
}

View File

@ -169,6 +169,7 @@ int main(int argc, char** argv)
void* runner(void* ptr)
{
do_stuff(ptr);
free(ptr);
pthread_exit(0);
}