RSS/Atom feed Twitter
Site is read-only, email is disabled

Image reference count problem in plugin

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Image reference count problem in plugin <hodsond@ozemail.com.au> 20 Nov 13:55
<hodsond@ozemail.com.au>
2004-11-20 13:55:24 UTC (over 19 years ago)

Image reference count problem in plugin

Sven,

That last line is wrong since you never owned a reference on that image and it is already gone at that point. It should read instead:

gint newImage = gimp_file_load (...); gimp_displays_reconnect (oldImage, newImage); gimp_image_delete (newImage);

I think I tried that without success, but I'll update to the latest version and try again. Thanks.

-- David

This message was sent through MyMail http://www.mymail.com.au