string: fix ustring.free()

pull/7013/head
Alexander Medvednikov 2020-11-28 03:41:43 +01:00
parent c3ed8bb5da
commit 86b5f7ef5d
1 changed files with 1 additions and 0 deletions

View File

@ -1274,6 +1274,7 @@ fn (u &ustring) free() {
} }
unsafe { unsafe {
u.runes.free() u.runes.free()
u.s.free()
} }
} }