aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_namespace/pam_namespace.c
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2024-01-01 23:03:41 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-02 18:24:08 +0000
commit2d04ce36c1d5d5abe2e0b90d60ed896947439a9e (patch)
tree684f4eb7627c579f059ffe4ada49d3155270a2f5 /modules/pam_namespace/pam_namespace.c
parent06bb553dd596b052af0bb890e2697a28be5d2dcc (diff)
downloadpam-2d04ce36c1d5d5abe2e0b90d60ed896947439a9e.tar.gz
pam-2d04ce36c1d5d5abe2e0b90d60ed896947439a9e.tar.bz2
pam-2d04ce36c1d5d5abe2e0b90d60ed896947439a9e.zip
pam_listfile: drop string duplication
The ifname variable is only assigned, but the string content itself is never modified. Drop the strdup call to simplify the code. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Diffstat (limited to 'modules/pam_namespace/pam_namespace.c')
0 files changed, 0 insertions, 0 deletions