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:
parent
c425353915
commit
4804bb7e75
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue