dwarf_loader: Delete the allocated CU when aborting
As in this case we're not adding it to the cus->cus in finalize_cu_immediately(). Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
d8940df90b
commit
26bd4c4164
|
@ -2696,6 +2696,7 @@ static int cus__merge_and_process_cu(struct cus *cus, struct conf_load *conf,
|
|||
return 0;
|
||||
|
||||
out_abort:
|
||||
cu__delete(cu);
|
||||
return DWARF_CB_ABORT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue