Fix: memory leak when using mapping iterator
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 23 Jan 2017 23:59:10 +0000 (18:59 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:09 +0000 (14:09 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.025115 seconds and 4 git commands to generate.