diff options
author | David Robillard <d@drobilla.net> | 2011-01-20 19:08:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-20 19:08:09 +0000 |
commit | 57683c8352e4a545171f28047617df88a6d4c917 (patch) | |
tree | e46f7493647a9d95a627d403edcbe6cdf7d4e8da /src/string.c | |
parent | f0c50e7461641d060c783e1f0fb1b74b3c175054 (diff) | |
download | serd-57683c8352e4a545171f28047617df88a6d4c917.tar.gz serd-57683c8352e4a545171f28047617df88a6d4c917.tar.bz2 serd-57683c8352e4a545171f28047617df88a6d4c917.zip |
Add serd_string_free to API.
git-svn-id: http://svn.drobilla.net/serd/trunk@13 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/string.c')
-rw-r--r-- | src/string.c | 7 |
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); +} |