BT_MOVE(): call bt_put(_dst)
[babeltrace.git] / tests / lib / test_bt_values.c
index 34fbc82cef448983be2d4dec9973739c605a42db..d10ae0cf31e9cfdf7401fd90a32400c1fc7d2640 100644 (file)
@@ -1112,7 +1112,7 @@ void test_macros(void)
 {
        struct bt_value *obj = bt_value_bool_create();
        struct bt_value *src;
-       struct bt_value *dst;
+       struct bt_value *dst = NULL;
 
        assert(obj);
        BT_PUT(obj);
This page took 0.024265 seconds and 4 git commands to generate.