fix leaks
[m6w6/ext-psi] / src / types / cpp_exp.c
index 2df4854b47e4dfa8c598c48c2d137713577266d4..ded4db5b614ea86a548d3aa0a3f7dfb6f5f7154c 100644 (file)
@@ -73,10 +73,6 @@ void psi_cpp_exp_free(struct psi_cpp_exp **exp_ptr)
                switch (exp->type) {
                case PSI_T_WARNING:
                case PSI_T_ERROR:
-                       if (!exp->data.tok) {
-                               break;
-                       }
-                       /* no break */
                case PSI_T_UNDEF:
                case PSI_T_IFDEF:
                case PSI_T_IFNDEF: