4 ms·
> can we just do `if(*ptr == NULL) return;` ? No, certainly not, but you can do `if(ptr == NULL) return;` which is correct but unnecessary since `free` is re
by jibal 1y ago
> can we just do `if(*ptr == NULL) return;` ?
No, certainly not, but you can do
`if(ptr == NULL) return;`
which is correct but unnecessary since `free` is required to do that check.