mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Fix some uninitialized memory notices that appeared under valgrind.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1433,7 +1433,7 @@ int ast_rtp_instance_get_stats(struct ast_rtp_instance *instance, struct ast_rtp
|
||||
|
||||
char *ast_rtp_instance_get_quality(struct ast_rtp_instance *instance, enum ast_rtp_instance_stat_field field, char *buf, size_t size)
|
||||
{
|
||||
struct ast_rtp_instance_stats stats;
|
||||
struct ast_rtp_instance_stats stats = { 0, };
|
||||
enum ast_rtp_instance_stat stat;
|
||||
|
||||
/* Determine what statistics we will need to retrieve based on field passed in */
|
||||
|
Reference in New Issue
Block a user