Skip to content
Snippets Groups Projects
Commit 21a16166 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

io: fix typo

parent e81b61b4
No related branches found
No related tags found
No related merge requests found
Pipeline #913607 canceled
......@@ -103,7 +103,7 @@ int protobuf_sprint(struct io *io, char *buf, size_t len, size_t *wbytes, struct
for (unsigned j = 0; j < pb_smp->n_values; j++) {
Villas__Node__Value *pb_val = pb_smp->values[j] = new Villas__Node__Value;
if (!pb_smp->values[i])
if (!pb_val)
throw MemoryAllocationError();
villas__node__value__init(pb_val);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment