aboutsummaryrefslogtreecommitdiffstats
path: root/src/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c
index 301a98cc..0f5d2430 100644
--- a/src/string.c
+++ b/src/string.c
@@ -63,3 +63,10 @@ serd_string_copy(const SerdString* s)
}
return NULL;
}
+
+SERD_API
+void
+serd_string_free(SerdString* str)
+{
+ free(str);
+}