Fixed memory leaks in tests
Esse commit está contido em:
pai
9983fbbb83
commit
6907369aaf
1 arquivos alterados com 4 adições e 0 exclusões
|
@ -72,6 +72,8 @@ int test_complex_protobuf() {
|
|||
return 0;
|
||||
}
|
||||
|
||||
Test3_free(test3);
|
||||
Test3_free(results);
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
@ -154,6 +156,8 @@ int test_write_simple() {
|
|||
return 0;
|
||||
}
|
||||
|
||||
Test1_free(results);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Carregando…
Referência em uma nova issue