forked from osmocom/wireshark
Use g_new0() when allocating z_stream
svn path=/trunk/; revision=30277
This commit is contained in:
parent
911b058d02
commit
7775703b1a
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue