bugGNU Octave - Bugs: bug #64854, Plug mem leaks in classdef-related...

 
 

bug #64854: Plug mem leaks in classdef-related tree nodes

Submitter:  Petter <petter>
Submitted:  Sat 04 Nov 2023 12:49:55 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Ready For Test Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 04 Nov 2023 01:46:51 PM UTC, comment #1: 

Pushed to default after testing. Ready for test.

Arun Giridhar <arungiridhar>
Group Member
Sat 04 Nov 2023 12:49:55 AM UTC, original submission:  

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.

Petter <petter>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55305:  octave_32555.patch added by petter (735B - text/plain)
file #55306:  octave_32556.patch added by petter (867B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arungiridhar (Posted a comment)
  • -email is unavailable- added by petter (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-11-04 arungiridhar StatusNone Ready For Test
    2023-11-04 petter Attached File- Added octave_32555.patch, #55305
        Attached File- Added octave_32556.patch, #55306

    Back to the top

    Powered by Savane 3.12