[all-commits] [llvm/llvm-project] 9816cc: Fix a memory leak in the Python implementation of ...

Adam Paszke via All-commits all-commits at lists.llvm.org
Wed Jun 21 09:41:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9816cc916f56feae9c5273c0c0be1255a20952f5
      https://github.com/llvm/llvm-project/commit/9816cc916f56feae9c5273c0c0be1255a20952f5
  Author: Adam Paszke <apaszke at google.com>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

  Changed paths:
    M mlir/lib/Bindings/Python/IRCore.cpp

  Log Message:
  -----------
  Fix a memory leak in the Python implementation of bytecode writer

The bytecode writer config was heap-allocated, but was never freed, causing ASAN errors.

Reviewed By: jpienaar

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




More information about the All-commits mailing list