Skip to content

Commit

Permalink
Fix valgrind_macos() function crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 authored Jun 16, 2022
1 parent 754139e commit 8ac29b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function valgrind_docker_make () {
# You must use "./" to specify executable file
function valgrind_macos ()
{
local i
for i in "$@"; do
if [[ $i == ./* ]]; then
cmd=$(nm -an $i | grep asan)
Expand Down

0 comments on commit 8ac29b2

Please sign in to comment.