mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
wrong operand to sizeof
This commit is contained in:
parent
166249b0b9
commit
43ffafcb4b
@ -169,7 +169,7 @@ static void stop_chan_io_dump(ftdm_io_dump_t *dump)
|
||||
return;
|
||||
}
|
||||
ftdm_safe_free(dump->buffer);
|
||||
memset(dump, 0, sizeof(dump));
|
||||
memset(dump, 0, sizeof(*dump));
|
||||
}
|
||||
|
||||
static ftdm_status_t start_chan_io_dump(ftdm_channel_t *chan, ftdm_io_dump_t *dump, ftdm_size_t size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user