aboutsummaryrefslogtreecommitdiffstats
path: root/src/namespaces.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-20 17:48:26 +0000
committerDavid Robillard <d@drobilla.net>2011-01-20 17:48:26 +0000
commitb40edc21bf6f5b2573092c835538b48bff8b489c (patch)
treeeecd4df410104dfb7e7d650f2374e99663e1e345 /src/namespaces.c
parente507454f6a304c7e53f596bcd5ac761ef790d479 (diff)
downloadserd-b40edc21bf6f5b2573092c835538b48bff8b489c.tar.gz
serd-b40edc21bf6f5b2573092c835538b48bff8b489c.tar.bz2
serd-b40edc21bf6f5b2573092c835538b48bff8b489c.zip
Run, and pass all, bad tests.
Fix memory errors. git-svn-id: http://svn.drobilla.net/serd/trunk@10 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/namespaces.c')
-rw-r--r--src/namespaces.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namespaces.c b/src/namespaces.c
index f18ebcff..a2526a5d 100644
--- a/src/namespaces.c
+++ b/src/namespaces.c
@@ -1,6 +1,6 @@
/* Serd, an RDF serialisation library.
* Copyright 2011 David Robillard <d@drobilla.net>
- *
+ *
* Serd is free software: you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -102,7 +102,7 @@ serd_namespaces_expand(SerdNamespaces ns,
if (!colon) {
return false; // Illegal qname
}
-
+
SerdNamespace* const record = serd_namespaces_find(ns, qname->buf, colon - qname->buf);
if (record) {
uri_prefix->buf = record->uri->buf;