Stephen Evanchik's Double free bug in GncDenseCal.

* src/gnome-utils/gnc-dense-cal.c:
          Remove double calls to gdc_free_all_mark_data
          in object cleanup,


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@10381 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2004-12-20 14:49:29 +00:00
parent 605d958469
commit 60cc6eb5eb
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
2004-12-20 Derek Atkins <derek@ihtfp.com>
Stephen Evanchik's Double free bug in GncDenseCal:
* src/gnome-utils/gnc-dense-cal.c:
Remove double calls to gdc_free_all_mark_data
in object cleanup,
2004-12-19 Derek Atkins <derek@ihtfp.com>
Stephen Evanchik's Minor touch-ups to GNCCurrencyEdit:

View File

@@ -529,9 +529,7 @@ gnc_dense_cal_finalize (GObject *object)
g_return_if_fail (object != NULL);
g_return_if_fail (GNC_IS_DENSE_CAL (object));
/* mark data */
dcal = GNC_DENSE_CAL(object);
gdc_free_all_mark_data( dcal );
if (G_OBJECT_CLASS (parent_class)->finalize)
(* G_OBJECT_CLASS (parent_class)->finalize) (object);