Mercurial > gftp.yaz
diff src/gtk/bookmarks.c @ 941:19b6d55e2646
2008-01-24 Brian Masney <masneyb@gftp.org>
* src/gtk/gftp-gtk.c src/gtk/menu-items.c src/gtk/transfer.c
src/gtk/dnd.c src/gtk/gtkui_transfer.c src/gtk/bookmarks.c
src/uicommon/gftpui.c - s/g_malloc/g_malloc0/
author | masneyb |
---|---|
date | Thu, 24 Jan 2008 23:26:45 +0000 |
parents | 1808cebed602 |
children | 63555c9744c2 |
line wrap: on
line diff
--- a/src/gtk/bookmarks.c Mon Jan 07 13:54:09 2008 +0000 +++ b/src/gtk/bookmarks.c Thu Jan 24 23:26:45 2008 +0000 @@ -81,7 +81,7 @@ tempentry = g_malloc0 (sizeof (*tempentry)); - dpos = tempentry->path = g_malloc ((gulong) strlen (edttxt) + 1); + dpos = tempentry->path = g_malloc0 ((gulong) strlen (edttxt) + 1); for (spos = edttxt; *spos != '\0';) { *dpos++ = *spos++;