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 341354 - A memory leak in e_text_preedit_changed_cb in e-text.c
A memory leak in e_text_preedit_changed_cb in e-text.c
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.8.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-05-10 23:37 UTC by Hiroyuki Ikezoe
Modified: 2013-09-13 00:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
a patch (550 bytes, patch)
2006-05-10 23:38 UTC, Hiroyuki Ikezoe
none Details | Review
revised patch (552 bytes, patch)
2006-05-10 23:47 UTC, Hiroyuki Ikezoe
none Details | Review
update patch (1.11 KB, patch)
2006-05-13 10:22 UTC, Hiroyuki Ikezoe
committed Details | Review

Description Hiroyuki Ikezoe 2006-05-10 23:37:25 UTC
Please describe the problem:
A memory leak in e_text_preedit_changed_cb in e-text.c.
It wastes huge memory while using input method.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Hiroyuki Ikezoe 2006-05-10 23:38:01 UTC
Created attachment 65206 [details] [review]
a patch
Comment 2 Hiroyuki Ikezoe 2006-05-10 23:47:59 UTC
Created attachment 65207 [details] [review]
revised patch

orz...

The previous patch has a typo...
Comment 3 Hiroyuki Ikezoe 2006-05-13 10:22:13 UTC
Created attachment 65373 [details] [review]
update patch

Added ChangeLog.
Comment 4 Harish Krishnaswamy 2006-07-05 17:12:04 UTC
Yeah..this is indeed a nasty leak. Thanks for the patch :-)
Comment 5 André Klapper 2006-07-07 14:14:19 UTC
patch committed to both branches:

http://cvs.gnome.org/viewcvs/evolution/widgets/text/e-text.c?r1=1.168&r2=1.169
http://cvs.gnome.org/viewcvs/evolution/widgets/text/e-text.c?r1=1.168&r2=1.168.2.1

fix will be included in unstable evolution 2.7.4 and stable evolution 2.6.3.
thanks a lot for providing this patch!