octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #64854] Plug mem leaks in classdef-related tre


From: Petter
Subject: [Octave-bug-tracker] [bug #64854] Plug mem leaks in classdef-related tree nodes
Date: Fri, 3 Nov 2023 20:49:57 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64854>

                 Summary: Plug mem leaks in classdef-related tree nodes
                   Group: GNU Octave
               Submitter: petter
               Submitted: Sat 04 Nov 2023 12:49:55 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 04 Nov 2023 12:49:55 AM UTC By: Petter <petter>
I ran valgrind memcheck on "test bytecode.tst" and it seems like
tree_classdef_property, tree_classdef_event and tree_classdef_enum are leaking
new:ed comment lists.

tree_classdef_property has a leak for each parse of a property block with a
comment when "clear all" is called, and it disappears with the first patch.
The other two classes seems to have the same leak but I have not verified they
are actually leaking with memcheck, but it should be the same problem.







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Sat 04 Nov 2023 12:49:55 AM UTC  Name: octave_32555.patch  Size: 735B  
By: petter

<http://savannah.gnu.org/bugs/download.php?file_id=55305>
-------------------------------------------------------
Date: Sat 04 Nov 2023 12:49:55 AM UTC  Name: octave_32556.patch  Size: 867B  
By: petter

<http://savannah.gnu.org/bugs/download.php?file_id=55306>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64854>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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