summaryrefslogtreecommitdiffstats
path: root/fdisk/fdisk.c
diff options
context:
space:
mode:
authorKarel Zak2008-01-28 14:02:35 +0100
committerKarel Zak2008-01-28 14:07:16 +0100
commit30568eec590764ab5cdd263a054df2c9fa38286f (patch)
tree79178937e58d78214737032d3cc50e91bc29a4bd /fdisk/fdisk.c
parentumount: don't print duplicate error messages (diff)
downloadkernel-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