Fix another memory leak.

This commit is contained in:
Mike Brady
2021-12-07 20:34:23 +00:00
parent d9b6a28307
commit 31a34ae684
+4
View File
@@ -2559,6 +2559,10 @@ void handle_teardown(rtsp_conn_info *conn, __attribute__((unused)) rtsp_message
conn->connection_number);
resp->respcode = 451;
}
if (conn->dacp_active_remote != NULL) {
free(conn->dacp_active_remote);
conn->dacp_active_remote = NULL;
}
debug(1,"Bogus exit for valgrind -- remember to comment it out!.");
exit(EXIT_SUCCESS);
}