=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/main.c,v retrieving revision 1.251 retrieving revision 1.252 diff -u -r1.251 -r1.252 --- src/usr.bin/mandoc/main.c 2020/04/02 22:10:27 1.251 +++ src/usr.bin/mandoc/main.c 2020/06/11 16:12:14 1.252 @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.251 2020/04/02 22:10:27 schwarze Exp $ */ +/* $OpenBSD: main.c,v 1.252 2020/06/11 16:12:14 otto Exp $ */ /* * Copyright (c) 2010-2012, 2014-2020 Ingo Schwarze * Copyright (c) 2008-2012 Kristaps Dzonsons @@ -874,7 +874,7 @@ if (outst->outdata == NULL) outdata_alloc(outst, outconf); else if (outst->outtype == OUTT_HTML) - html_reset(outst); + html_reset(outst->outdata); mandoc_xr_reset(); meta = mparse_result(mp);