Module Name: src Committed By: joerg Date: Sat Jun 6 14:40:29 UTC 2015
Modified Files: src/gnu/dist/groff/src/utils/hpftodit: hpftodit.cpp Log Message: The opposite of new[] is delete[], not delete. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp diff -u src/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp:1.5 src/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp:1.6 --- src/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp:1.5 Mon Feb 6 18:25:48 2006 +++ src/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp Sat Jun 6 14:40:29 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: hpftodit.cpp,v 1.5 2006/02/06 18:25:48 wiz Exp $ */ +/* $NetBSD: hpftodit.cpp,v 1.6 2015/06/06 14:40:29 joerg Exp $ */ // -*- C++ -*- /* Copyright (C) 1994, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. @@ -577,7 +577,7 @@ output_font_name(File &f) ; *(p + 1) = '\0'; printf("# %s\n", font_name); - delete font_name; + delete[] font_name; } static void