Fix: memory leak when using mapping iterator
[babeltrace.git] / formats / ctf / ir / fields.c
index 35db018557bc62684f495c839919d6fdc3985ff5..412b7fdef065cc3adf0cf80bd3d35f32a5d811bb 100644 (file)
@@ -926,6 +926,7 @@ error_put_container_type:
 error_put_container:
        bt_put(container);
 end:
+       bt_put(iter);
        return name;
 }
 
This page took 0.023028 seconds and 4 git commands to generate.