physfs.c
changeset 186 fcabc280b29d
parent 167 fd695ca50a2c
child 193 830c165052a5
equal deleted inserted replaced
185:4959e825c3ef 186:fcabc280b29d
   402 
   402 
   403     BAIL_IF_MACRO(!initializeMutexes(), NULL, 0);
   403     BAIL_IF_MACRO(!initializeMutexes(), NULL, 0);
   404 
   404 
   405     baseDir = calculateBaseDir(argv0);
   405     baseDir = calculateBaseDir(argv0);
   406     BAIL_IF_MACRO(baseDir == NULL, NULL, 0);
   406     BAIL_IF_MACRO(baseDir == NULL, NULL, 0);
       
   407 
   407     ptr = __PHYSFS_platformRealPath(baseDir);
   408     ptr = __PHYSFS_platformRealPath(baseDir);
   408     free(baseDir);
   409     free(baseDir);
   409     BAIL_IF_MACRO(ptr == NULL, NULL, 0);
   410     BAIL_IF_MACRO(ptr == NULL, NULL, 0);
   410     baseDir = ptr;
   411     baseDir = ptr;
   411 
   412