43eba49a50
The if statement erroneously ended with a ';', which means that the code is always executed, but there's no reason to even have these if checks in the first place as the functions themselves return safely with null pointers.