From 938b11fa5e450b8104fba715c5b534c74d7573d0 Mon Sep 17 00:00:00 2001 From: Joel Guittet Date: Thu, 20 Jun 2024 00:23:53 +0200 Subject: [PATCH] add-ons: inventory: add missing reinitialization --- add-ons/src/mender-inventory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/add-ons/src/mender-inventory.c b/add-ons/src/mender-inventory.c index 68400e3..3365dbd 100755 --- a/add-ons/src/mender-inventory.c +++ b/add-ons/src/mender-inventory.c @@ -176,6 +176,7 @@ mender_inventory_exit(void) { mender_inventory_keystore = NULL; mender_scheduler_mutex_give(mender_inventory_mutex); mender_scheduler_mutex_delete(mender_inventory_mutex); + mender_inventory_mutex = NULL; return ret; }