diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-01-02 09:46:16 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-01-02 09:46:16 +0000 |
commit | 7afd9b0c3b6a16397291a64293d547b46f502669 (patch) | |
tree | 51df04c46d2ad1c10a02b1d69ae7162ac8365825 /epan/dissectors/packet-vj.c | |
parent | 02a69c193522d69060008add5b7b77387dad123d (diff) |
From Jakub Zawadzki:
Cleanup dissector code - use proper memory functions.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164
svn path=/trunk/; revision=31408
Diffstat (limited to 'epan/dissectors/packet-vj.c')
-rw-r--r-- | epan/dissectors/packet-vj.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-vj.c b/epan/dissectors/packet-vj.c index 1ed19c2e4d..62e82f274a 100644 --- a/epan/dissectors/packet-vj.c +++ b/epan/dissectors/packet-vj.c @@ -450,11 +450,9 @@ vj_init(void) static slcompress * slhc_init(void) { - slcompress *comp = se_alloc(sizeof(slcompress)); + slcompress *comp = se_alloc0(sizeof(slcompress)); int i; - memset(comp, ZERO, sizeof(slcompress)); - /* * Initialize the state; there is no current connection, and * we have no header data for any of the connections, as we |