diff options
Diffstat (limited to 'wiretap/vwr.c')
-rw-r--r-- | wiretap/vwr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/vwr.c b/wiretap/vwr.c index 05c7d33d61..a316020a89 100644 --- a/wiretap/vwr.c +++ b/wiretap/vwr.c @@ -822,7 +822,7 @@ wtap_open_return_val vwr_open(wtap *wth, int *err, gchar **err_info) } /* This is a vwr file */ - vwr = (vwr_t *)g_malloc0(sizeof(vwr_t)); + vwr = g_new0(vwr_t, 1); wth->priv = (void *)vwr; vwr->FPGA_VERSION = fpgaVer; |