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

iex61850-9-2: fix initialization of new samples

This commit is contained in:
Steffen Vogel 2018-01-17 01:23:12 +01:00
parent c425353915
commit 4804bb7e75

View file

@ -64,7 +64,7 @@ static void iec61850_sv_listener(SVSubscriber subscriber, void *ctx, SVSubscribe
* data block of the SV message before accessing the data.
*/
smp = pool_get(&i->subscriber.pool);
smp = sample_alloc(&i->subscriber.pool);
if (!smp) {
warn("Pool underrun in subscriber of %s", node_name(n));
return;