Use g_new0() when allocating z_stream

svn path=/trunk/; revision=30277
This commit is contained in:
Kovarththanan Rajaratnam 2009-10-04 06:32:43 +00:00
parent 911b058d02
commit 7775703b1a
1 changed files with 1 additions and 1 deletions

View File

@ -2895,7 +2895,7 @@ tvb_uncompress(tvbuff_t *tvb, int offset, int comprlen)
next = compr;
strm = g_malloc0(sizeof(z_stream));
strm = g_new0(z_stream, 1);
strm->next_in = next;
strm->avail_in = comprlen;