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

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

[Octave-bug-tracker] [bug #51377] Parse error for abstract methods


From: Piotr Held
Subject: [Octave-bug-tracker] [bug #51377] Parse error for abstract methods
Date: Wed, 30 Aug 2017 13:52:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

Follow-up Comment #8, bug #51377 (project octave):

I started thinking if my solution does not cause a memory leak, because I
raise an error inside make_meta_class. Sure enough it seems like it did cause
a memory leak. However, there was another error raised in
cdef_class::make_meta_class, so the memory leak existed prior to this new
cset. That memory leak happened when creating 'sl_child' in the code below:


classdef (Sealed) sl_parent < handle
end

classdef sl_child < sl_parent
end


So I made a patch that should solve the problem of raising errors inside
cdef_class::make_meta_class and I am attachin it here. This patch should work
with the current tip (23973:a315ac23dc6c). 

(file #41701)
    _______________________________________________________

Additional Item Attachment:

File name: memory_leak_patch.diff         Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51377>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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