From 6a61adcb14d1834f0751cc19d7dc415bfac2b3d6 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 6 Jun 2015 14:40:29 +0000 Subject: [PATCH] The opposite of new[] is delete[], not delete. --- gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp b/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp index 591030a0c855..b2f49dfb9a4c 100644 --- a/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp +++ b/gnu/dist/groff/src/utils/hpftodit/hpftodit.cpp @@ -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