Merge pull request #1903 from cesanta/freemgstrdupdoc

Update README.md
This commit is contained in:
Sergio R. Caprile 2022-12-05 16:30:24 -03:00 committed by GitHub
commit fc98c88358
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);
```