[all-commits] [llvm/llvm-project] 3b04af: Fix some memory leak in MLIRContext with respect t...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sat Jul 11 13:06:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b04af4d84fbffa6a2e90cfd187ed01092b45684
      https://github.com/llvm/llvm-project/commit/3b04af4d84fbffa6a2e90cfd187ed01092b45684
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-07-11 (Sat, 11 Jul 2020)

  Changed paths:
    M mlir/lib/IR/MLIRContext.cpp

  Log Message:
  -----------
  Fix some memory leak in MLIRContext with respect to registered types/attributes interfaces

Differential Revision: https://reviews.llvm.org/D83618


  Commit: 44b0b7cf6605c41728f445c363415b9b6f48db04
      https://github.com/llvm/llvm-project/commit/44b0b7cf6605c41728f445c363415b9b6f48db04
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-07-11 (Sat, 11 Jul 2020)

  Changed paths:
    M mlir/lib/Parser/Parser.cpp

  Log Message:
  -----------
  Fix one memory leak in the MLIRParser by using std::unique_ptr to hold the new block pointer

 This is NFC when there is no parsing error.

Differential Revision: https://reviews.llvm.org/D83619


Compare: https://github.com/llvm/llvm-project/compare/47872adf6ae2...44b0b7cf6605


More information about the All-commits mailing list