diff src/html.c @ 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 36d2c875a822
children e41b04bb4afe
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;