diff options
Diffstat (limited to 'ext/curl/gstcurlhttpsrc.c')
-rw-r--r-- | ext/curl/gstcurlhttpsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/gstcurlhttpsrc.c b/ext/curl/gstcurlhttpsrc.c index a68156659..a8de12e82 100644 --- a/ext/curl/gstcurlhttpsrc.c +++ b/ext/curl/gstcurlhttpsrc.c @@ -2127,7 +2127,7 @@ gst_curl_http_src_get_debug (CURL * handle, curl_infotype type, char *data, switch (type) { case CURLINFO_TEXT: case CURLINFO_HEADER_OUT: - msg = g_memdup (data, size); + msg = g_memdup2 (data, size); if (size > 0) { msg[size - 1] = '\0'; g_strchomp (msg); |