changeset 5511:d64bbc7ab746

[gaim-migrate @ 5910] I think this is better committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 25 May 2003 13:41:02 +0000
parents da18a02c3705
children e41b04bb4afe
files src/html.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/html.c	Sun May 25 10:06:38 2003 +0000
+++ b/src/html.c	Sun May 25 13:41:02 2003 +0000
@@ -91,7 +91,7 @@
 
 struct g_url *parse_url(char *url)
 {
-	struct g_url *test = (struct g_url*)malloc(sizeof(struct g_url));
+	struct g_url *test = g_new0(struct g_url);
 	char scan_info[255];
 	char port[5];
 	int f;