diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-26 11:12:59 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-04-26 11:12:59 +0000 |
commit | 49b9d3039dc63f9c7e0dec51997ac2dc7f1e8703 (patch) | |
tree | a6b8623130e967fc6cbf342804f71e01f7f83ad8 /modules/pam_unix/support.c | |
parent | b77aa28f46596773110e842d79b65d3fdce9ed22 (diff) | |
download | pam-49b9d3039dc63f9c7e0dec51997ac2dc7f1e8703.tar.gz pam-49b9d3039dc63f9c7e0dec51997ac2dc7f1e8703.tar.bz2 pam-49b9d3039dc63f9c7e0dec51997ac2dc7f1e8703.zip |
pam_motd: cleanup calloc invocations
Apply the following calloc invocation idiom:
ptr = calloc(nmemb, sizeof(*ptr));
* modules/pam_motd/pam_motd.c (pam_split_string,
try_to_display_directories_with_overrides): Cleanup calloc invocations.
Fixes: f9c9c721 ("pam_motd: Support multiple motd paths specified, with filename overrides (#69)")
Diffstat (limited to 'modules/pam_unix/support.c')
0 files changed, 0 insertions, 0 deletions