Mem handling fixme.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15836 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled 2007-04-06 01:47:37 +00:00
parent 49640205d3
commit f7206b1fd1
3 changed files with 3 additions and 4 deletions

View File

@ -54,7 +54,7 @@ typedef struct _GncDenseCalModelIface
GType gnc_dense_cal_model_get_type(void);
/* @fixme: glist mem alloc policy... ? */
/** @return Caller-owned GList (but not elements). The Model-user will free. **/
GList* gnc_dense_cal_model_get_contained(GncDenseCalModel *model);
gchar* gnc_dense_cal_model_get_name(GncDenseCalModel *model, guint tag);
gchar* gnc_dense_cal_model_get_info(GncDenseCalModel *model, guint tag);

View File

@ -1691,7 +1691,7 @@ gdc_add_markings(GncDenseCal *cal)
guint tag = GPOINTER_TO_UINT(tags->data);
gdc_add_tag_markings(cal, tag);
}
// @fixme: list cleanup
g_list_free(tags);
}
static void
@ -1704,7 +1704,7 @@ gdc_remove_markings(GncDenseCal *cal)
guint tag = GPOINTER_TO_UINT(tags->data);
gdc_mark_remove(cal, tag);
}
// @fixme: list cleanup
g_list_free(tags);
}
static void

View File

@ -170,7 +170,6 @@ gsidca_find_sx_with_tag(gconstpointer list_data,
return (GUINT_TO_POINTER(GPOINTER_TO_UINT(sx_instances->sx)) == find_data ? 0 : 1);
}
// @@ fixme this list is leaked.
static GList*
gsidca_get_contained(GncDenseCalModel *model)
{