commit | f73753543266917e1b96e81d65ebedc5e9d8792f | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Fri Jan 01 17:24:57 2021 +0100 |
committer | Alexander Couzens <lynxis@fe80.eu> | Fri Jan 01 17:24:57 2021 +0100 |
tree | 0c40b58d754d4564059187e0d5afa6e5940c845f | |
parent | fdea03b40859057fb85014ace8cdb65e57c2b373 [diff] |
gprs_ns2: use zero initialized memory for vty_binds Change-Id: I5635d98c52948fddcc375e1be9b1cd04aa32bc3c
diff --git a/src/gb/gprs_ns2_vty2.c b/src/gb/gprs_ns2_vty2.c index e8738c1..41daa74 100644 --- a/src/gb/gprs_ns2_vty2.c +++ b/src/gb/gprs_ns2_vty2.c
@@ -108,7 +108,7 @@ static struct vty_bind *vty_bind_alloc(const char *name) { - struct vty_bind *vbind = talloc(vty_nsi, struct vty_bind); + struct vty_bind *vbind = talloc_zero(vty_nsi, struct vty_bind); if (!vbind) return NULL;