1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

string: fix ustring.free()

This commit is contained in:
Alexander Medvednikov 2020-11-28 03:41:43 +01:00
parent c3ed8bb5da
commit 86b5f7ef5d

View File

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