diff options
author | David Robillard <d@drobilla.net> | 2011-01-25 17:03:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-25 17:03:53 +0000 |
commit | 5b0c4fec31b17b92d01f4eeccfd4bc4af8484865 (patch) | |
tree | 24c8a2b3a74678ce9d6d59860a2a7525a844c378 /src/env.c | |
parent | 2e3ec18723e534dd1e6600148a2e24216138414d (diff) | |
download | serd-5b0c4fec31b17b92d01f4eeccfd4bc4af8484865.tar.gz serd-5b0c4fec31b17b92d01f4eeccfd4bc4af8484865.tar.bz2 serd-5b0c4fec31b17b92d01f4eeccfd4bc4af8484865.zip |
Fix memory leaks.
Push builtin URIs (rdf:type, etc) on parser creation/deletion, rather than at each parse.
git-svn-id: http://svn.drobilla.net/serd/trunk@67 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/env.c')
-rw-r--r-- | src/env.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -42,12 +42,6 @@ serd_node_copy(const SerdNode* node) return copy; } -static void -serd_node_free(SerdNode* node) -{ - free((uint8_t*)node->buf); // FIXME: const cast -} - SERD_API SerdEnv serd_env_new() |