ccanlint: fix abort when -vv used and examples don't compile.
[ccan] / tools / ccanlint / tests / examples_compile.c
index b34846371cfb8b96bca5e8ae1d383cfa85bc3067..a3a3d1d595c88a5e8cfb7384c99b087aa416df64 100644 (file)
@@ -488,7 +488,8 @@ static void build_examples(struct manifest *m, bool keep,
                                err = "Standalone compile and"
                                        " adding headers both failed";
                } else {
-                       err = talloc_asprintf("Standalone example:\n"
+                       err = talloc_asprintf(score,
+                                             "Standalone example:\n"
                                              "%s\n"
                                              "Errors: %s\n\n"
                                              "Adding headers, wrappers:\n"