fp might be NULL.
This commit is contained in:
parent
a4d1b17453
commit
a5599efd9c
@ -95,6 +95,7 @@ int main(int ac, char **av)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if(fp)
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
||||||
sem_id_arr = (int*)malloc(sizeof(int)*MAXIDS);
|
sem_id_arr = (int*)malloc(sizeof(int)*MAXIDS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user