diff options
author | Corey Farrell <git@cfware.com> | 2017-08-03 21:58:25 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-08-03 21:27:51 -0500 |
commit | 1a3e08326e3d2c3a82157e55e5f7f13c3d3af55a (patch) | |
tree | d0a40fb954aee575983b9d13968c9a888675ae4b /tests/test_taskprocessor.c | |
parent | 6edefc9480dac80895eec53f19343933b5bd531e (diff) |
Correct some leaks in unit tests.
* chan_sip: channel in test_sip_rtpqos_1.
* test_config: config hook, config info and global config holder.
* test_core_format: format in format_attribute_set_without_interface.
* test_stream: unneeded frame duplication.
* test_taskprocessor: task_data.
Change-Id: I94d364d195cf3b3b5de2bf3ad565343275c7ad31
Diffstat (limited to 'tests/test_taskprocessor.c')
-rw-r--r-- | tests/test_taskprocessor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_taskprocessor.c b/tests/test_taskprocessor.c index be48f9248..ad2074cb8 100644 --- a/tests/test_taskprocessor.c +++ b/tests/test_taskprocessor.c @@ -677,7 +677,7 @@ AST_TEST_DEFINE(taskprocessor_push_local) { RAII_VAR(struct ast_taskprocessor *, tps, NULL, ast_taskprocessor_unreference); - struct task_data *task_data; + RAII_VAR(struct task_data *, task_data, NULL, ao2_cleanup); int local_data; int res; |