AUDIT: r17036 - gnucash/trunk/src - Fix memory leaks after usage of gtk_tree_model_get().

Andreas Köhler andi5 at cvs.gnucash.org
Thu Mar 20 19:14:36 EDT 2008


Author: andi5
Date: 2008-03-20 19:14:34 -0400 (Thu, 20 Mar 2008)
New Revision: 17036
Trac: http://svn.gnucash.org/trac/changeset/17036

Modified:
   gnucash/trunk/src/core-utils/gnc-gtk-utils.c
   gnucash/trunk/src/gnome-utils/druid-gnc-xml-import.c
   gnucash/trunk/src/gnome-utils/gnc-tree-view-account.c
   gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c
   gnucash/trunk/src/import-export/csv/gnc-csv-import.c
   gnucash/trunk/src/import-export/qif-import/dialog-account-picker.c
   gnucash/trunk/src/register/register-gnome/gnucash-item-list.c
   gnucash/trunk/src/report/report-gnome/dialog-style-sheet.c
Log:
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.

BP




More information about the gnucash-patches mailing list