tal/str and tal/stack: use _label interfaces.
[ccan] / ccan / tal / stack / stack.c
index 00ee0166c1692a4f526f2471f91fa9c04d99ccac..aab0fd16881b9362cd6d2245d8a990206ac204a5 100644 (file)
@@ -12,7 +12,7 @@ static void _free_frame(tal_t *o)
 
 tal_t *tal_newframe_(const char *label)
 {
-       h = tal_alloc_(h, 0, false, false, label);
+       h = tal_label(h, char, label);
        assert(h != NULL);
        tal_add_destructor(h, _free_frame);
        return h;