From 86b5f7ef5d27ab88e6177a6ec486d280c1ff0c96 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 28 Nov 2020 03:41:43 +0100 Subject: [PATCH] string: fix ustring.free() --- vlib/builtin/string.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/builtin/string.v b/vlib/builtin/string.v index 771ba4fb75..69ae355aed 100644 --- a/vlib/builtin/string.v +++ b/vlib/builtin/string.v @@ -1274,6 +1274,7 @@ fn (u &ustring) free() { } unsafe { u.runes.free() + u.s.free() } }