MP1-4155: fixed memory leak in RTSP protocol