summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index c3730f0b1..18a746f97 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -632,6 +632,7 @@ print_stat (char *pformat, size_t prefix_len, char m,
}
printf (" -> ");
out_string (pformat, prefix_len, quote (linkname));
+ free (linkname);
}
break;
case 'd':