mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
test: initialize capture structure before freeing
ASTERISK-30232 #close Change-Id: I2603e2cef8f93f6b0a6ef39f7eac744251bb3902
This commit is contained in:
committed by
Friendly Automation
parent
1ed4518328
commit
3e7ce90f9c
@@ -438,6 +438,16 @@ int __ast_test_status_update(const char *file, const char *func, int line, struc
|
||||
} \
|
||||
})
|
||||
|
||||
/*!
|
||||
* \brief Initialize the capture structure.
|
||||
*
|
||||
* \since 16.30.0, 18.16.0, 19.8.0, 20.1.0
|
||||
*
|
||||
* \param capture The structure describing the child process and its
|
||||
* associated output.
|
||||
*/
|
||||
void ast_test_capture_init(struct ast_test_capture *capture);
|
||||
|
||||
/*!
|
||||
* \brief Release the storage (buffers) associated with capturing
|
||||
* the output of an external child process.
|
||||
|
Reference in New Issue
Block a user