Skip to content
Snippets Groups Projects
Commit 3e9d7a62 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

This refs #1415, but is strange and should not happen. RRset should be...

This refs #1415, but is strange and should not happen. RRset should be initialized to NULL before calling this function.
parent ad0abcd7
No related branches found
No related tags found
No related merge requests found
......@@ -1160,7 +1160,7 @@ void knot_zload_close(zloader_t *loader)
int knot_zload_rrset_deserialize(knot_rrset_t **rrset,
uint8_t *stream, size_t *size)
{
if (stream == NULL || size == 0 || *rrset != NULL) {
if (stream == NULL || size == 0) {
return KNOT_EBADARG;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment