=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/getlog.c,v retrieving revision 1.98 retrieving revision 1.99 diff -u -r1.98 -r1.99 --- src/usr.bin/cvs/getlog.c 2014/12/01 21:58:46 1.98 +++ src/usr.bin/cvs/getlog.c 2016/10/13 20:51:25 1.99 @@ -1,4 +1,4 @@ -/* $OpenBSD: getlog.c,v 1.98 2014/12/01 21:58:46 deraadt Exp $ */ +/* $OpenBSD: getlog.c,v 1.99 2016/10/13 20:51:25 fcambus Exp $ */ /* * Copyright (c) 2005, 2006 Xavier Santolaria * Copyright (c) 2006 Joris Vink @@ -17,6 +17,7 @@ */ #include +#include #include #include #include @@ -276,7 +277,7 @@ cvs_printf("\t%s: %s\n", sym->rs_name, rcsnum_tostr(rev, numb, sizeof(numb))); - rcsnum_free(rev); + free(rev); } } @@ -393,7 +394,7 @@ branch = rcsnum_revtobr(rb->rb_num); rcsnum_tostr(branch, numb, sizeof(numb)); cvs_printf(" %s;", numb); - rcsnum_free(branch); + free(branch); } cvs_printf("\n"); }