diff options
author | David Robillard <d@drobilla.net> | 2020-08-12 15:51:07 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:06 -0500 |
commit | 0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53 (patch) | |
tree | b267a6fa76129ef10e91bf953ca63cf20abc6407 /test | |
parent | bf01cef66e561ea0cd2ad0babf08194b00f84b77 (diff) | |
download | serd-0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53.tar.gz serd-0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53.tar.bz2 serd-0054cff3f5aa1e2c4b5e47fd9b2dfeeff6b17e53.zip |
Remove double allocations in serd_env_expand()
Diffstat (limited to 'test')
-rw-r--r-- | test/test_uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_uri.c b/test/test_uri.c index ea70508b..6eac9bb5 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -206,7 +206,7 @@ test_uri_resolution(void) const SerdURIView rel_foo_uri = serd_relative_uri(abs_foo_uri, base_uri); const SerdURIView resolved_uri = serd_resolve_uri(rel_foo_uri, base_uri); - SerdNode* const resolved = serd_new_parsed_uri(resolved_uri); +SerdNode* const resolved = serd_new_parsed_uri(resolved_uri); assert(!strcmp(serd_node_string(resolved), "http://example.org/a/b/c/foo")); serd_node_free(resolved); |