mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
49640205d3
commit
f7206b1fd1
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user