From 90b31b959d1b735b92fb0547309ffc4a42fe5c6c Mon Sep 17 00:00:00 2001
From: "alexey.stratulat" <alexey.stratulat@demlabs.net>
Date: Thu, 23 Apr 2020 22:58:28 +0700
Subject: [PATCH] [*] Fix. Check for the presence of a list of manifests is
 added.

---
 src/dap_chain_plugins.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dap_chain_plugins.c b/src/dap_chain_plugins.c
index 6c31635..a96722c 100644
--- a/src/dap_chain_plugins.c
+++ b/src/dap_chain_plugins.c
@@ -44,6 +44,8 @@ void dap_chain_plugins_loading(){
     dap_chain_plugins_list_manifest_t *man = NULL;
     dap_chain_plugins_list_manifest_t *treshold = NULL;
     dap_chain_plugins_list_manifest_t *tmp = NULL;
+    if (l_manifests == NULL)
+        return;
     LL_FOREACH_SAFE(l_manifests, man, tmp){
         if (man->name == NULL){
             log_it(L_ERROR, "Can loading plugin, file not found");
-- 
GitLab