Browse Source

Fix potential NULL dereference.

git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4391 a436a847-0d15-0410-975c-d299462d15a1
zrythm_meson
David Robillard 11 years ago
parent
commit
787e2b3658
  1. 2
      src/sratom.c

2
src/sratom.c

@ -232,7 +232,7 @@ sratom_write(Sratom* sratom, @@ -232,7 +232,7 @@ sratom_write(Sratom* sratom,
language = serd_node_from_string(
SERD_LITERAL, USTR(lang + prefix_len));
} else {
fprintf(stderr, "Unknown language URI <%s>\n", lang);
fprintf(stderr, "Unknown language URID %d\n", lit->lang);
}
}
} else if (type_urid == sratom->forge.URID) {

Loading…
Cancel
Save