Fix #1513 - fix mg_strdup() documentation

This commit is contained in:
Sergey Lyubka 2022-04-12 09:57:25 +01:00
parent 85281ae128
commit 5f78d34f4d

View File

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