From 37780f19c34d8573c4ca9796df33da3cdadf9e92 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 3 Jun 2010 21:56:59 +0200 Subject: [PATCH] Use x_strdup instead of strdup --- ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccache.c b/ccache.c index e4a2e2c8f..ac5210d5b 100644 --- a/ccache.c +++ b/ccache.c @@ -1244,7 +1244,7 @@ static void find_compiler(int argc, char **argv) /* support user override of the compiler */ if ((path=getenv("CCACHE_CC"))) { - base = strdup(path); + base = x_strdup(path); } compiler = find_executable(base, MYNAME); -- 2.47.3