After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 76984 - missing gimp_help_free() in plug-ins
missing gimp_help_free() in plug-ins
Status: RESOLVED NOTABUG
Product: GIMP
Classification: Other
Component: Plugins
1.x
Other All
: Normal minor
: ---
Assigned To: GIMP Bugs
Daniel Egger
Depends on:
Blocks:
 
 
Reported: 2002-03-30 11:41 UTC by iccii
Modified: 2002-04-12 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch which adds gimp_help_free (19.48 KB, patch)
2002-03-30 11:43 UTC, iccii
none Details | Review
Patch file to add gimp_help_free function for current gimp cvs HEAD (but probably you can also apply it to gimp-1.2.3) (2.20 KB, patch)
2002-04-12 13:10 UTC, iccii
none Details | Review
Patch file to add gimp_help_free function for current gimp cvs HEAD (but probably you can also apply it to gimp-1.2.3) (2.20 KB, patch)
2002-04-12 13:11 UTC, iccii
none Details | Review

Description iccii 2002-03-30 11:41:50 UTC
There are some plug-ins which calls gimp_help_init() and doesn't call
gimp_help_free() , and which doesn't free the memory (memory leak)
See attachment patch file. (for gimp-1.2.3)
plug-ins/gag/*.c also doesn't call gimp_help_free function. I don't create
the patch because I can't understand those source too complex structure.

Please add plug-ins/sel2path/sel2path_adv_dialog.c to po-plug-
ins/POTFILES.in
if you apply the patch in directly.
Comment 1 iccii 2002-03-30 11:43:02 UTC
Created attachment 7463 [details] [review]
patch which adds gimp_help_free
Comment 2 iccii 2002-04-12 13:10:51 UTC
Created attachment 7674 [details] [review]
Patch file to add gimp_help_free function for current gimp cvs HEAD (but probably you can also apply it to gimp-1.2.3)
Comment 3 iccii 2002-04-12 13:11:28 UTC
Created attachment 7675 [details] [review]
Patch file to add gimp_help_free function for current gimp cvs HEAD (but probably you can also apply it to gimp-1.2.3)
Comment 4 Sven Neumann 2002-04-12 13:36:21 UTC
There's no need to free the resources allocated by gimp_help_init().
The OS takes care of doing this when the plug-in exits. This kind of
programmers lazyness is tolerable and doesn't count as a memleak.

The localisation of the sel2path dialog that is also part of your
patch was omitted intentionally since the dialog is a well-hidden
expert feature and any attempt to translate the very technical 
descriptions of the adjustable values will most probably only lead
to confusion.
Comment 5 Sven Neumann 2002-04-12 14:41:44 UTC
Will apply the patch (with a small modification) to the HEAD branch
anyway since it doesn't hurt.