lto_obj_file_open allocates:
  lo = XCNEW (struct lto_simple_object);
However, the data is never freed - neither explicitly nor in lto_obj_file_close.

In the attached patch, I free the memory now after the call to lto_obj_file_close.

Build and regtested on x86-64-gnu-linux.
OK for the trunk?

Tobias

Attachment: patch.diff
Description: application/unknown

Reply via email to