Mercurial > pidgin.yaz
changeset 17542:ab71a09600ad
Changed a malloc use to g_new0
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Mon, 04 Jun 2007 03:08:59 +0000 |
parents | aeb8c9fbb577 |
children | 223a4fca43a1 |
files | finch/libgnt/gntwm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);