aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 78f0ad4..d8cc9bd 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -658,6 +658,7 @@ create_file_names (const char *file_name)
strcpy (da_file_name, name);
strcpy (da_file_name + length, GCOV_DATA_SUFFIX);
+ free (name);
return;
}