diff options
author | Karel Zak | 2008-01-28 14:02:35 +0100 |
---|---|---|
committer | Karel Zak | 2008-01-28 14:07:16 +0100 |
commit | 30568eec590764ab5cdd263a054df2c9fa38286f (patch) | |
tree | 79178937e58d78214737032d3cc50e91bc29a4bd /fdisk/fdisk.c | |
parent | umount: don't print duplicate error messages (diff) | |
download | kernel-qcow2-util-linux-30568eec590764ab5cdd263a054df2c9fa38286f.tar.gz kernel-qcow2-util-linux-30568eec590764ab5cdd263a054df2c9fa38286f.tar.xz kernel-qcow2-util-linux-30568eec590764ab5cdd263a054df2c9fa38286f.zip |
login: fix a small memory leak and remove unnecessary zeroing
This patch fix a small memory leak (rh#251539) and also remove
unnecessary pam_set_item(). We needn't to zeroing PAM_USER when the
value is already NULL, it doesn't make sense.
Addresses-Red-Hat-Bugzilla: #251539
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/fdisk.c')
0 files changed, 0 insertions, 0 deletions