diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp/rtspconnection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/rtsp/rtspconnection.c b/gst/rtsp/rtspconnection.c index f96caf4d..e8c1ceec 100644 --- a/gst/rtsp/rtspconnection.c +++ b/gst/rtsp/rtspconnection.c @@ -264,7 +264,7 @@ rtsp_connection_connect (RTSPConnection * conn, GTimeVal * timeout) done: conn->fd = fd; - conn->ip = ip; + conn->ip = g_strdup (ip); return RTSP_OK; @@ -1030,6 +1030,7 @@ rtsp_connection_free (RTSPConnection * conn) g_timer_destroy (conn->timer); g_free (conn->username); g_free (conn->passwd); + g_free (conn->ip); g_free (conn); |