Project

General

Profile

Bug #360

intermediate representation is leaking

Added by Mathieu Desnoyers over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
10/02/2012
Due date:
% Done:

0%

Estimated time:

Description

We have a nice comment in

formats/ctf/metadata/ctf-visitor-generate-io-struct.c

/* TODO: missing metadata "destroy" (memory leak) */

This should be implemented before 1.0 final, especially given that we now expose an external API. It made sense to disregard memory allocation when babeltrace was a one-shot command line converter, but not anymore.

Thorough testing under valgrind is recommended.

Also available in: Atom PDF