=================================================================== RCS file: /cvs/mandoc/man.c,v retrieving revision 1.74 retrieving revision 1.77 diff -u -p -r1.74 -r1.77 --- mandoc/man.c 2010/05/17 22:11:42 1.74 +++ mandoc/man.c 2010/06/26 15:36:37 1.77 @@ -1,6 +1,6 @@ -/* $Id: man.c,v 1.74 2010/05/17 22:11:42 kristaps Exp $ */ +/* $Id: man.c,v 1.77 2010/06/26 15:36:37 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -28,6 +28,7 @@ #include #include "mandoc.h" +#include "regs.h" #include "libman.h" #include "libmandoc.h" @@ -124,7 +125,8 @@ man_endparse(struct man *m) int -man_parseln(struct man *m, int ln, char *buf, int offs) +man_parseln(struct man *m, const struct regset *regs, + int ln, char *buf, int offs) { if (MAN_HALT & m->flags) @@ -146,6 +148,8 @@ man_free1(struct man *man) free(man->meta.title); if (man->meta.source) free(man->meta.source); + if (man->meta.rawdate) + free(man->meta.rawdate); if (man->meta.vol) free(man->meta.vol); if (man->meta.msec)