aboutsummaryrefslogtreecommitdiff
path: root/utf8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utf8.cpp')
-rw-r--r--utf8.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/utf8.cpp b/utf8.cpp
index ea28922..745e888 100644
--- a/utf8.cpp
+++ b/utf8.cpp
@@ -42,6 +42,11 @@ utf8::utf8 (char* input)
_index = 0;
}
+utf8::~utf8 ()
+{
+ free(string);
+}
+
int32_t utf8::get()
{
int32_t code;