From 56c5c51076ac75e25130083d1358160cd27b0b8f Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 2 May 2017 18:05:01 -0500 Subject: stream: ast_stream_clone() cannot copy the opaque user data. ast_stream_clone() cannot copy the opaque user data stored on a stream. We don't know how to clone the data so it isn't copied into the clone. Change-Id: Ia51321bf38ecbfdcc53787ca77ea5fd2cabdf367 --- include/asterisk/stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/stream.h') diff --git a/include/asterisk/stream.h b/include/asterisk/stream.h index 1bb34b72a..821ecec03 100644 --- a/include/asterisk/stream.h +++ b/include/asterisk/stream.h @@ -126,7 +126,7 @@ void ast_stream_free(struct ast_stream *stream); * \retval NULL failure * * \note Opaque data pointers set with ast_stream_set_data() are not part - * of the deep clone. The pointers are simply copied. + * of the deep clone. We have no way to clone the data. * * \since 15 */ -- cgit v1.2.3