winpr/thread: use _strdup instead of strdup
authorBernhard Miklautz <bmiklautz@thinstuff.at>
Thu, 31 Oct 2013 09:43:59 +0000 (10:43 +0100)
committerBernhard Miklautz <bmiklautz@thinstuff.at>
Thu, 31 Oct 2013 09:43:59 +0000 (10:43 +0100)
winpr/libwinpr/thread/process.c

index 514d115..f27567b 100644 (file)
@@ -140,7 +140,7 @@ char* FindApplicationPath(char* application)
                return NULL;
 
        if (application[0] == '/')
-               return strdup(application);
+               return _strdup(application);
 
        nSize = GetEnvironmentVariableA("PATH", NULL, 0);