summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/romcc/romcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/romcc/romcc.c b/util/romcc/romcc.c
index f00f93f326..aee86968af 100644
--- a/util/romcc/romcc.c
+++ b/util/romcc/romcc.c
@@ -25154,7 +25154,7 @@ int main(int argc, char **argv)
}
argv++;
argc--;
- include_filelist->filename = argv[1];
+ include_filelist->filename = strdup(argv[1]);
include_filelist->next = old_head;
result = 0;
}