mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-05 02:49:00 +08:00
commit
fc98c88358
@ -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);
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user