]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_free.3: fix return type of `curl_free`
authorThomas1664 on github <46387399+Thomas1664@users.noreply.github.com>
Mon, 30 Jan 2023 22:51:32 +0000 (23:51 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 31 Jan 2023 07:32:37 +0000 (08:32 +0100)
Fixes #10373
Closes #10374

docs/libcurl/curl_free.3

index 4333d7625ddbbaab6ac06f94da824da4086cd334..7513c89d175a0d356c3f489ffea9aa532ba1851d 100644 (file)
@@ -28,7 +28,7 @@ curl_free - reclaim memory that has been obtained through a libcurl call
 .nf
 #include <curl/curl.h>
 
-void curl_free(char *ptr);
+void curl_free(void *ptr);
 .fi
 .SH DESCRIPTION
 curl_free reclaims memory that has been obtained through a libcurl call. Use