mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 14:36:48 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user