From: Joel Rosdahl Date: Thu, 3 Jun 2010 19:56:59 +0000 (+0200) Subject: Use x_strdup instead of strdup X-Git-Tag: v3.0~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37780f19c34d8573c4ca9796df33da3cdadf9e92;p=thirdparty%2Fccache.git Use x_strdup instead of strdup --- 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);