Mercurial > audlegacy-plugins
diff src/curl/curl.c @ 473:e1e98289c1ab trunk
[svn] - use g_new0
author | nenolod |
---|---|
date | Sun, 21 Jan 2007 02:18:37 -0800 |
parents | 1256144d2a6e |
children | 416d9e2d075e |
line wrap: on
line diff
--- a/src/curl/curl.c Sun Jan 21 02:16:17 2007 -0800 +++ b/src/curl/curl.c Sun Jan 21 02:18:37 2007 -0800 @@ -463,9 +463,9 @@ sprintf(url, "http://%s", path); - file = g_new(VFSFile, 1); + file = g_new0(VFSFile, 1); - handle = g_new(CurlHandle, 1); + handle = g_new0(CurlHandle, 1); handle->curl = curl_easy_init(); handle->rd_index = 0; handle->wr_index = 0;