Imported Upstream version 1.3.1
[platform/upstream/libunwind.git] / src / coredump / _UCD_destroy.c
index 5aff989..ddc36ec 100644 (file)
@@ -44,7 +44,9 @@ _UCD_destroy (struct UCD_info *ui)
         close(phdr->backing_fd);
     }
 
+  free(ui->phdrs);
   free(ui->note_phdr);
+  free(ui->threads);
 
   free(ui);
 }