Project

General

Profile

Actions

Bug #360

closed

intermediate representation is leaking

Added by Mathieu Desnoyers about 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Julien Desfossez
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.

Actions

Also available in: Atom PDF