On Mon, Oct 8, 2012 at 2:39 PM, Tobias Burnus wrote:
> 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_clos
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?