[all-commits] [llvm/llvm-project] 9426fd: [libc][test] fix memory leak pt.2 (#122384)

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Thu Jan 9 14:47:14 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9426fdd4cbd6812b69c218b865f184cb25342be4
      https://github.com/llvm/llvm-project/commit/9426fdd4cbd6812b69c218b865f184cb25342be4
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M libc/test/UnitTest/ExecuteFunctionUnix.cpp
    M libc/test/UnitTest/FPExceptMatcher.cpp

  Log Message:
  -----------
  [libc][test] fix memory leak pt.2 (#122384)

These were created with operator new (see `Test::createCallable`), so operator
delete should be used instead of free().

Fixes: #122369
Fixes: #122378



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list