bug-gnustep
[Top][All Lists]
Advanced

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

[bug #44428] Memory leak in libobjc2 on each call to objc_setAssociatedO


From: Sergey
Subject: [bug #44428] Memory leak in libobjc2 on each call to objc_setAssociatedObject
Date: Thu, 05 Mar 2015 20:09:06 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36

Follow-up Comment #1, bug #44428 (project gnustep):

I try to make some changes, and I found that class_addMethod isn't working for
hiddenClass. I don't understand why. So, I make some patch (see in attach),
where destructor method is added into original object class (in 'super' for
new hiddenClass). So, leak is fixed, but I think this is just a workaround for
this problem.

(file #33252)
    _______________________________________________________

Additional Item Attachment:

File name: associate.m.patch              Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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