Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EEEEeEeek! 2 GeglBuffers leaked
#5
(09-07-2020, 08:49 AM)tmanni Wrote: Can you post the enitre script ?
I suspect you forget to call gimp-image-delete before the end of the script.

Tmanni, you saved my day! Smile This was my simplified script, and as you can see, the problem was indeed that I didn't call gimp-image-delete! I had almost forgotten about such issues with all these automatic garbage collectors that programming languages provide Big Grin  The issue can be assigned as closed Smile Thank you so much for your time, people!

Code:
(define (test filename-in)

    (let* ((image    (car (gimp-file-load RUN-NONINTERACTIVE filename-in ""))))
    (gimp-message "END!")
    )
)

(script-fu-register "test"
  _"test"
  _"test"
  "Test"
  "Test"
  "September 2020"
  ""
)

(script-fu-menu-register "test"
                         "<Image>/Test")
Reply


Messages In This Thread
EEEEeEeek! 2 GeglBuffers leaked - by gounis - 09-06-2020, 02:58 PM
RE: EEEEeEeek! 2 GeglBuffers leaked - by rich2005 - 09-06-2020, 06:13 PM
RE: EEEEeEeek! 2 GeglBuffers leaked - by Ofnuts - 09-06-2020, 07:28 PM
RE: EEEEeEeek! 2 GeglBuffers leaked - by tmanni - 09-07-2020, 08:49 AM
RE: EEEEeEeek! 2 GeglBuffers leaked - by gounis - 09-07-2020, 10:44 AM

Forum Jump: