]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add missing free()
authorGeert Kloosterman <geert.kloosterman@brightcomputing.com>
Wed, 4 Apr 2018 19:53:49 +0000 (21:53 +0200)
committerGeert Kloosterman <geert.kloosterman@brightcomputing.com>
Wed, 4 Apr 2018 19:53:49 +0000 (21:53 +0200)
src/ccache.c

index bef3369885dc4f8173b2d9c45a558b6bc1d7ab13..0cf6d9029aa9209d41e06986da05090750724c5a 100644 (file)
@@ -1393,6 +1393,7 @@ get_object_name_from_cpp(struct args *args, struct mdfour *hash)
                }
 
                path_stdout = format("%s/%s.stdout", temp_dir(), input_base);
+               free(input_base);
                int path_stdout_fd = create_tmp_fd(&path_stdout);
                add_pending_tmp_file(path_stdout);