From 4804bb7e751931b4842c6e39624ea25f48b0f79d Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 17 Jan 2018 01:23:12 +0100 Subject: [PATCH] iex61850-9-2: fix initialization of new samples --- lib/nodes/iec61850_sv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nodes/iec61850_sv.c b/lib/nodes/iec61850_sv.c index d96a50a0b..477bdf885 100644 --- a/lib/nodes/iec61850_sv.c +++ b/lib/nodes/iec61850_sv.c @@ -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;