996 |
tmp = Asc_GetEnv(PATHENVIRONMENTVAR); |
tmp = Asc_GetEnv(PATHENVIRONMENTVAR); |
997 |
if(tmp==NULL){ |
if(tmp==NULL){ |
998 |
ERROR_REPORTER_HERE(ASC_PROG_ERROR,"No paths to search (is env var '%s' set?)",PATHENVIRONMENTVAR); |
ERROR_REPORTER_HERE(ASC_PROG_ERROR,"No paths to search (is env var '%s' set?)",PATHENVIRONMENTVAR); |
999 |
|
ospath_free(fp1); |
1000 |
return 1; |
return 1; |
1001 |
} |
} |
1002 |
|
|
1006 |
if(sp1==NULL){ |
if(sp1==NULL){ |
1007 |
ERROR_REPORTER_HERE(ASC_PROG_ERROR,"Unable to process %s value '%s'",PATHENVIRONMENTVAR,tmp); |
ERROR_REPORTER_HERE(ASC_PROG_ERROR,"Unable to process %s value '%s'",PATHENVIRONMENTVAR,tmp); |
1008 |
/* memory error */ |
/* memory error */ |
1009 |
ascfree(tmp); |
ASC_FREE(tmp); |
1010 |
|
ospath_free(fp1); |
1011 |
return -3; |
return -3; |
1012 |
} |
} |
1013 |
ascfree(tmp); |
ascfree(tmp); |