1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

path_source: fix double incref

This commit is contained in:
Manuel Pitz 2021-07-12 17:48:30 +02:00
parent d4ea4b9d6e
commit efd64ea7fc

View file

@ -161,8 +161,6 @@ int path_source_read(struct vpath_source *ps, struct vpath *p, int i)
sent = node_write(sps->node, read_smps, recv);
if (sent < recv)
p->logger->warn("Partial write to secondary path source {} of path {}", *sps->node, *p);
sample_incref_many(read_smps, recv);
}
p->received.set(i);