MEMORY_LEAK false alarm
Ouverte
false-positive
- Langage dominant
- OCaml
- Étoiles
- 15.7k
- Forks
- 2.1k
- Merge moyen
- 19 h 36 min
- PR mergées (30 j)
- 13
Description
Why does `infer run --pulse -- clang -c test.c` report MEMORY_LEAK for the following code?
```
//test.c
int foo(int a, int b){
char *p = NULL;
if(a > b){
p = malloc(100);
}
if(a > b){
free(p);
}
return 0;
}
```
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.