# HG changeset patch # User Eric Polino # Date 1180926539 0 # Node ID ab71a09600ad54cc0139be74590f88f338407bcb # Parent aeb8c9fbb57770592bca61fc881d3231b6d1dfea Changed a malloc use to g_new0 diff -r aeb8c9fbb577 -r ab71a09600ad finch/libgnt/gntwm.c --- a/finch/libgnt/gntwm.c Mon Jun 04 03:00:09 2007 +0000 +++ b/finch/libgnt/gntwm.c Mon Jun 04 03:08:59 2007 +0000 @@ -573,7 +573,7 @@ GList * currentRowData,*itr; char * tmp; - rebind_info = (RebindInfo*)malloc(sizeof(RebindInfo)); + rebind_info = g_new0(RebindInfo,1); rebind_info->keys = NULL; rebind_info->klass = GNT_BINDABLE_GET_CLASS(widget); currentRowData = gnt_tree_get_selection_text_list(tree);