Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed port's double destruction in mips_test() and include benchmark tests in test apps #4221

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pjlib/include/pj/config_site_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
#define PJMEDIA_CODEC_L16_HAS_48KHZ_STEREO 1
#define PJMEDIA_HAS_G7221_CODEC 1
#define PJMEDIA_HAS_G722_CODEC 1
#define PJ_EXCLUDE_BENCHMARK_TESTS 1
#define PJ_EXCLUDE_BENCHMARK_TESTS 0
4 changes: 2 additions & 2 deletions pjmedia/src/test/mips_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -2388,8 +2388,8 @@ static pj_timestamp run_entry(unsigned clock_rate, struct test_entry *e)

if (e->custom_deinit)
e->custom_deinit(e);

pjmedia_port_destroy(port);
else
pjmedia_port_destroy(port);
pj_pool_release(pool);

return t1;
Expand Down
Loading