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 341369 - memory leaks concerned with gtk_tree_view_new_with_tree_model()
memory leaks concerned with gtk_tree_view_new_with_tree_model()
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-11 04:51 UTC by Hiroyuki Ikezoe
Modified: 2013-09-13 00:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
a patch (4.28 KB, patch)
2006-05-11 04:52 UTC, Hiroyuki Ikezoe
committed Details | Review
one more (2.07 KB, patch)
2006-05-12 22:02 UTC, Hiroyuki Ikezoe
committed Details | Review

Description Hiroyuki Ikezoe 2006-05-11 04:51:17 UTC
Please describe the problem:
GtkTreeModel which is argument of gtk_tree_view_new_with_tree_model() should be
unref.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Hiroyuki Ikezoe 2006-05-11 04:52:32 UTC
Created attachment 65216 [details] [review]
a patch
Comment 2 Hiroyuki Ikezoe 2006-05-12 22:02:03 UTC
Created attachment 65355 [details] [review]
one more

As far as I checked, there is no more memory leak concerned with gtk_tree_view_new_with_model().
Comment 3 Harish Krishnaswamy 2006-07-05 17:01:13 UTC
Looks good to commit. Thanks for the patch.
Hiroyuki, please update the patches with a ChangeLog (and include one in your future submissions). This helps when somebody (mostly, me) wants to pick the patches from Bugzilla and absorb them in their trees.
Comment 5 Harish Krishnaswamy 2006-07-10 10:56:52 UTC
committed the patch ahead of the release. Thanks Hiroyuki.