Skip to content

Commit 71fac58

Browse files
committed
vrxtx/rtp: correctly pass the response
The issue arises in the commit 9c3fc10 (26th Mar '26) where the response is not correctly assigned to `r` variable. fixes CID 909029
1 parent fc73e47 commit 71fac58

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/video_rxtx/rtp.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,8 @@ rtp_video_rxtx::rtp_process_sender_messages()
191191
{
192192
struct message *msg_external = nullptr;
193193
while((msg_external = check_message(&m_rtp_sender_mod))) {
194-
struct response *r = nullptr;
195194
auto *msg = (struct msg_sender *) msg_external;
196-
process_sender_message(msg);
197-
195+
struct response *r = process_sender_message(msg);
198196
free_message(msg_external, r);
199197
}
200198
}

0 commit comments

Comments
 (0)