rtsp-client: Don't leak addr

CID #1422260
This commit is contained in:
Edward Hervey 2017-11-21 09:53:19 +01:00 committed by Edward Hervey
parent 4d98bc5e55
commit 7bf8c4d218

View file

@ -1837,9 +1837,9 @@ default_configure_client_transport (GstRTSPClient * client,
ct->port.min = addr->port;
ct->port.max = addr->port + addr->n_ports - 1;
ct->ttl = addr->ttl;
gst_rtsp_address_free (addr);
}
gst_rtsp_address_free (addr);
} else {
GstRTSPUrl *url;