summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtsp-server/rtsp-client.c')
-rw-r--r--gst/rtsp-server/rtsp-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c
index c60ba0a..47c9657 100644
--- a/gst/rtsp-server/rtsp-client.c
+++ b/gst/rtsp-server/rtsp-client.c
@@ -1659,7 +1659,7 @@ handle_mikey_data (GstRTSPClient * client, GstRTSPContext * ctx,
gst_rtsp_stream_update_crypto (ctx->stream, map->ssrc, caps);
gst_caps_unref (caps);
}
- gst_mikey_message_free (msg);
+ gst_mikey_message_unref (msg);
return TRUE;
@@ -1691,7 +1691,7 @@ unsupported_encryption:
}
cleanup_message:
{
- gst_mikey_message_free (msg);
+ gst_mikey_message_unref (msg);
return FALSE;
}
}