From 5f78d34f4df5a36968debe9b8f72bf90f823d689 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 12 Apr 2022 09:57:25 +0100 Subject: [PATCH] Fix #1513 - fix mg_strdup() documentation --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 529e3713..a92790b0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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); ```