From c4a5fd2f27926c1d5451e8ccdbbc1711886fadb8 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Thu, 16 Apr 2020 19:39:37 +0200 Subject: [PATCH] - IEC 61850 client: fixed memory leak in async select function --- src/iec61850/client/client_control.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iec61850/client/client_control.c b/src/iec61850/client/client_control.c index 1f64efed..8d73f684 100644 --- a/src/iec61850/client/client_control.c +++ b/src/iec61850/client/client_control.c @@ -991,6 +991,8 @@ internalSelectHandler(uint32_t invokeId, void* parameter, MmsError err, MmsValue if (DEBUG_IED_CLIENT) printf("IED_CLIENT: internal error - no matching outstanding call!\n"); } + + MmsValue_delete(value); } uint32_t