bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #55331] src/utils/hpftodit/hpftodit.cpp:577:Wmismatched-new-delete


From: David Binderman
Subject: [bug #55331] src/utils/hpftodit/hpftodit.cpp:577:Wmismatched-new-delete
Date: Sun, 30 Dec 2018 05:59:42 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]