Fix writer: missing put ref to values and types
[babeltrace.git] / plugins / writer / writer.c
index 8f1d2fc1942eec526cb457a5954cbf5a635eec46..f89ac7460a80f56e5d5f5eba0c48f972bc2b4519 100644 (file)
@@ -272,6 +272,7 @@ enum bt_component_status writer_component_init(
                ret = BT_COMPONENT_STATUS_INVALID;
                goto error;
        }
+       bt_put(value);
 
        writer_component->base_path = g_string_new(path);
        if (!writer_component) {
This page took 0.023073 seconds and 4 git commands to generate.