=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lex/tables.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/lex/tables.c 2015/11/19 22:16:43 1.2 --- src/usr.bin/lex/tables.c 2015/12/11 00:08:43 1.3 *************** *** 1,4 **** ! /* $OpenBSD: tables.c,v 1.2 2015/11/19 22:16:43 tedu Exp $ */ /* tables.c - tables serialization code * --- 1,4 ---- ! /* $OpenBSD: tables.c,v 1.3 2015/12/11 00:08:43 mmcc Exp $ */ /* tables.c - tables serialization code * *************** *** 117,124 **** */ int yytbl_data_destroy (struct yytbl_data *td) { ! if (td->td_data) ! free (td->td_data); td->td_data = 0; free (td); return 0; --- 117,123 ---- */ int yytbl_data_destroy (struct yytbl_data *td) { ! free(td->td_data); td->td_data = 0; free (td); return 0;