<div>hi all,</div><div>    I found a memory leak in version 2023.0303.  The following is my patch, please take a look.</div><div><br></div><div>Best Regards,</div><div>Jie</div><div>----</div><div><br></div><div>diff --git a/liveMedia/RTSPServer.cpp b/liveMedia/RTSPServer.cpp</div><div>index d649779..1210702 100644</div><div>--- a/liveMedia/RTSPServer.cpp</div><div>+++ b/liveMedia/RTSPServer.cpp</div><div>@@ -493,6 +493,7 @@ void RTSPServer::RTSPClientConnection::handleCmd_notSupported() {</div><div> }</div><div><br></div><div> void RTSPServer::RTSPClientConnection::handleCmd_redirect(char const* urlSuffix) {</div><div>+  char *urlPrefix = fOurRTSPServer.rtspURLPrefix(fClientInputSocket);</div><div>   snprintf((char*)fResponseBuffer, sizeof fResponseBuffer,</div><div>           "RTSP/1.0 301 Moved Permanently\r\n"</div><div>           "CSeq: %s\r\n"</div><div>@@ -500,7 +501,8 @@ void RTSPServer::RTSPClientConnection::handleCmd_redirect(char const* urlSuffix)</div><div>           "Location: %s%s\r\n\r\n",</div><div>           fCurrentCSeq,</div><div>           dateHeader(),</div><div>-          fOurRTSPServer.rtspURLPrefix(fClientInputSocket), urlSuffix);</div><div>+          urlPrefix, urlSuffix);</div><div>+  delete[] urlPrefix;</div><div> }</div>