Qt: fix a potential memory leak in RTP audio stream playback

Change-Id: I6847f85d56841f99594063bfb7441d0c40e452a7
Reviewed-on: https://code.wireshark.org/review/12425
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Pascal Quantin 2015-12-04 11:44:29 +01:00
parent d8c794e16d
commit 2e4be481b8
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ void RtpAudioStream::decode()
if (decoded_bytes == 0 || sample_rate == 0) {
// We didn't decode anything. Clean up and prep for the next packet.
last_sequence = rtp_packet->info->info_seq_num;
g_free(decode_buff);
continue;
}