[krita] [Bug 366741] Krita crashes if all gradients are removed with segmentation fault

2016-08-13 Thread Bruno P . Kinoshita via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

--- Comment #2 from Bruno P. Kinoshita  ---
Pushed to my GitHub fork, so it is possible to compare it against the current
master online too

https://github.com/KDE/krita/compare/82247dd5d276097809bf49e708430dcf19a26b45...kinow:fix-dangling-pointer

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes if all gradients are removed with segmentation fault

2016-08-13 Thread Bruno P . Kinoshita via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

Bruno P. Kinoshita  changed:

   What|Removed |Added

 CC||brunodepau...@yahoo.com.br

--- Comment #1 from Bruno P. Kinoshita  ---
Created attachment 100590
  --> https://bugs.kde.org/attachment.cgi?id=100590=edit
Proposed Patch #1 for issue 366741

Attaching a proposed patch, where the dangling pointer is set back to 0. It
works by using the same resource server adapter as sender, and then connecting
to the removingResource(KoResource *) signal.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 366741] Krita crashes if all gradients are removed with segmentation fault

2016-08-13 Thread Bruno P . Kinoshita via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366741

Bruno P. Kinoshita  changed:

   What|Removed |Added

  Latest Commit||82247dd5d276097809bf49e7084
   ||30dcf19a26b45

-- 
You are receiving this mail because:
You are watching all bug changes.