r17130 - gnucash/branches/2.2/src - [r17036] Fix memory leaks after usage of gtk_tree_model_get().

Andreas Köhler andi5 at cvs.gnucash.org
Sat Apr 26 12:49:10 EDT 2008


Author: andi5
Date: 2008-04-26 12:49:08 -0400 (Sat, 26 Apr 2008)
New Revision: 17130
Trac: http://svn.gnucash.org/trac/changeset/17130

Modified:
   gnucash/branches/2.2/src/core-utils/gnc-gtk-utils.c
   gnucash/branches/2.2/src/gnome-utils/druid-gnc-xml-import.c
   gnucash/branches/2.2/src/gnome-utils/gnc-tree-view-account.c
   gnucash/branches/2.2/src/gnome-utils/gnc-tree-view-commodity.c
   gnucash/branches/2.2/src/import-export/qif-import/dialog-account-picker.c
   gnucash/branches/2.2/src/register/register-gnome/gnucash-item-list.c
   gnucash/branches/2.2/src/report/report-gnome/dialog-style-sheet.c
Log:
[r17036] Fix memory leaks after usage of gtk_tree_model_get().

String results are always newly allocated and should be freed.
Similarly, GObjects should be unreffed, but I have not found such a
case.




More information about the gnucash-patches mailing list