]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: fix __copy_partition()
authorKarel Zak <kzak@redhat.com>
Tue, 28 Jan 2020 11:46:39 +0000 (12:46 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 28 Jan 2020 11:46:39 +0000 (12:46 +0100)
commitcaa37b6e18fdcd29e57ab82fe1d54b293fccbf3b
tree7988084511f738f86ca931aabbcb2341216f11da
parent3534b2c7c70776c7d4ed98b435949832981ac3aa
libfdisk: fix __copy_partition()

The code called free() for pointers copied from the source partition.

Addresses: https://github.com/systemd/systemd/pull/14677
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/partition.c