mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-18 23:53:15 +08:00
Fix #1513 - fix mg_strdup() documentation
This commit is contained in:
parent
85281ae128
commit
5f78d34f4d
@ -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);
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user