commit | 5556f7e826a9cd419656b78348d3570814041979 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Tue Sep 20 14:23:32 2022 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Tue Sep 20 14:23:32 2022 -0700 |
tree | 401075d66f9a141aa29c8e19bbd64dbb059ce9eb | |
parent | 44cebe32eed5605b529daaf7432c9960105f117f [diff] | |
parent | 855ac6b07b7b3204030843301b5485bbf82b8cb6 [diff] |
Merge 855ac6b07b7b3204030843301b5485bbf82b8cb6 on remote branch Change-Id: I888cb9b5f7c2a275725a6ae51e477d19d136f7b9
diff --git a/service/src/graph.c b/service/src/graph.c index aea9e75..0e79b8c 100644 --- a/service/src/graph.c +++ b/service/src/graph.c
@@ -705,7 +705,8 @@ list_remove(node); temp_mod = node_to_item(node, module_info_t, list); if (temp_mod->gkv) { - free(temp_mod->gkv->kv); + if (temp_mod->gkv->kv) + free(temp_mod->gkv->kv); free(temp_mod->gkv); } free(temp_mod);