diff options
Diffstat (limited to 'util/uri.c')
-rw-r--r-- | util/uri.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1004,8 +1004,7 @@ URI * uri_new(void) { URI *ret; - ret = (URI *) g_malloc(sizeof(URI)); - memset(ret, 0, sizeof(URI)); + ret = g_new0(URI, 1); return(ret); } |