URL:
<https://savannah.gnu.org/bugs/?55331>
Summary:
src/utils/hpftodit/hpftodit.cpp:577:Wmismatched-new-delete
Project: GNU troff
Submitted by: dcb314
Submitted on: Sun 30 Dec 2018 10:59:41 AM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
src/utils/hpftodit/hpftodit.cpp:577:3: warning: 'delete' applied to a pointer
that was allocated with 'new[]'; did you mean 'delete[]'?
[-Wmismatched-new-delete]
$ fgrep font_name src/utils/hpftodit/hpftodit.cpp
char *font_name = new char[count];
delete font_name;
$
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55331>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff