mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
Fix #1513 - fix mg_strdup() documentation
This commit is contained in:
1 parent
85281ae128
commit
5f78d34f4d
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user