[all-commits] [llvm/llvm-project] ea0cd5: [CodeGen][ObjC] Fix a memory leak that occurs when...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Thu Jan 5 20:03:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea0cd51a495829ea35b7b8304b16784946598d19
      https://github.com/llvm/llvm-project/commit/ea0cd51a495829ea35b7b8304b16784946598d19
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2023-01-05 (Thu, 05 Jan 2023)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/test/CodeGenObjC/nontrivial-c-struct-property.m

  Log Message:
  -----------
  [CodeGen][ObjC] Fix a memory leak that occurs when a non-trivial C
struct property is set using dot notation

Make sure the destructor is called if needed.

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




More information about the All-commits mailing list