[PATCH] D31983: Free zone name when destroying malloc zone
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 11:05:49 PDT 2017
alekseyshl accepted this revision.
alekseyshl added inline comments.
This revision is now accepted and ready to land.
================
Comment at: lib/sanitizer_common/sanitizer_malloc_mac.inc:62
}
+ if (zone->zone_name) {
+ COMMON_MALLOC_FREE((void *)zone->zone_name);
----------------
Nit: prefer no brackets for one liners
https://reviews.llvm.org/D31983
More information about the llvm-commits
mailing list