Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP server: fix wrong memory access
  • Loading branch information
perexg committed Jan 5, 2016
1 parent 0f6d56f commit a69523c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/satip/rtsp.c
Expand Up @@ -1482,8 +1482,7 @@ rtsp_flush_requests(http_connection_t *hc)
if (rs->shutdown_on_close == hc) {
rtsp_close_session(rs);
rtsp_free_session(rs);
}
if (rs->tcp_data == hc) {
} else if (rs->tcp_data == hc) {
satip_rtp_close((void *)(intptr_t)rs->stream);
rs->tcp_data = NULL;
}
Expand Down

0 comments on commit a69523c

Please sign in to comment.