From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Tue, 7 Dec 2021 20:29:00 +0000 (+0000) Subject: Add a bogus exit for AP1 to make it easier to evaluate valgrind results. X-Git-Tag: 4.1-rc1~24^2~363^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b6a28307cbea7656a1eee3b2a6c6b5ca7fce1d;p=thirdparty%2Fshairport-sync.git Add a bogus exit for AP1 to make it easier to evaluate valgrind results. --- diff --git a/rtsp.c b/rtsp.c index af7066f9..4396a363 100644 --- a/rtsp.c +++ b/rtsp.c @@ -2533,7 +2533,7 @@ void handle_teardown_2(rtsp_conn_info *conn, __attribute__((unused)) rtsp_messag free(conn->ap2_timing_peer_list_message); conn->ap2_timing_peer_list_message = NULL; } - debug(1,"Bogus exit for valgrind."); + debug(1,"Bogus exit for valgrind -- remember to comment it out!."); exit(EXIT_SUCCESS); // } #endif @@ -2559,6 +2559,8 @@ void handle_teardown(rtsp_conn_info *conn, __attribute__((unused)) rtsp_message conn->connection_number); resp->respcode = 451; } + debug(1,"Bogus exit for valgrind -- remember to comment it out!."); + exit(EXIT_SUCCESS); } void handle_flush(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp) {