Commit f4402422636c2b34f6e5cefb2eb2844e8b34d9ef

Thomas de Grivel 2023-09-07T11:04:26

wip segv

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/facts.c b/libc3/facts.c
index 25fa84e..f0fc124 100644
--- a/libc3/facts.c
+++ b/libc3/facts.c
@@ -87,7 +87,7 @@ s_fact * facts_replace_tags (s_facts *facts, const s_tag *subject,
                              const s_tag *object)
 {
   s_facts_cursor cursor;
-  s_list *list;
+  s_list *list = NULL;
   s_fact *f;
   s_tag var;
   assert(facts);