summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/leaking_addresses.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl
index 05906f6cf6b9..3d5c3096aac8 100755
--- a/scripts/leaking_addresses.pl
+++ b/scripts/leaking_addresses.pl
@@ -462,6 +462,10 @@ sub parse_file
return;
}
+ if (! -T $file) {
+ return;
+ }
+
if (skip_parse($file)) {
dprint "skipping file: $file\n";
return;