diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-12-04 11:44:29 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-12-04 10:53:19 +0000 |
commit | 2e4be481b8bdfd27953069416b23e2d602ddea53 (patch) | |
tree | 03dcd2dfb378bfd3625d549f4e0b85df1f6efd68 /ui/qt/rtp_audio_stream.cpp | |
parent | d8c794e16dd91ff957e2d817e3269ae0e3bb3b97 (diff) | |
download | wireshark-2e4be481b8bdfd27953069416b23e2d602ddea53.tar.gz |
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>
Diffstat (limited to 'ui/qt/rtp_audio_stream.cpp')
-rw-r--r-- | ui/qt/rtp_audio_stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/rtp_audio_stream.cpp b/ui/qt/rtp_audio_stream.cpp index a8f4c02011..1346a4dff2 100644 --- a/ui/qt/rtp_audio_stream.cpp +++ b/ui/qt/rtp_audio_stream.cpp @@ -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; } |