Update README.md

This commit is contained in:
Sergio R. Caprile 2022-12-05 16:24:28 -03:00 committed by GitHub
parent ad051269ed
commit 7c0440c148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2348,7 +2348,7 @@ Usage example:
struct mg_str str1 = mg_str("hello");
struct mg_str str2 = mg_strdup(str1);
//...
free(str2.ptr);
free((void *)str2.ptr);
```