=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/line.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- src/usr.bin/mg/line.c 2015/09/29 02:07:49 1.57 +++ src/usr.bin/mg/line.c 2015/12/11 20:21:23 1.58 @@ -1,4 +1,4 @@ -/* $OpenBSD: line.c,v 1.57 2015/09/29 02:07:49 guenther Exp $ */ +/* $OpenBSD: line.c,v 1.58 2015/12/11 20:21:23 mmcc Exp $ */ /* This file is in the public domain. */ @@ -99,8 +99,7 @@ } lp->l_bp->l_fp = lp->l_fp; lp->l_fp->l_bp = lp->l_bp; - if (lp->l_text != NULL) - free(lp->l_text); + free(lp->l_text); free(lp); }