mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Free the allocated filename. Found by clang static analyzer.
llvm-svn: 158513
This commit is contained in:
parent
8f0f616a54
commit
33d8ca2ddc
@ -117,6 +117,7 @@ void llvm_gcda_start_file(const char *orig_filename) {
|
||||
fprintf(stderr, "LLVM profiling runtime: cannot open '%s': ",
|
||||
cptr ? cptr + 1 : orig_filename);
|
||||
perror("");
|
||||
free(filename);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user