Nullifies some potential memory leaks #15