cbch: cosmetic: use talloc_zero() in bts_process_smscb_cmd()

Change-Id: Ibb5090b7cd53c1a485d0b9474c6470fa5831de67
This commit is contained in:
Vadim Yanitskiy 2021-12-12 19:36:48 +03:00
parent 7ce4fa4325
commit 374939f8cc
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ int bts_process_smscb_cmd(struct gsm_bts *bts, struct rsl_ie_cb_cmd_type cmd_typ
return -EINVAL;
}
scm = talloc_zero_size(bts, sizeof(*scm));
scm = talloc_zero(bts, struct smscb_msg);
if (!scm)
return -1;