]> 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>
Thu, 30 Jan 2020 10:04:33 +0000 (11:04 +0100)
commit75b5e69ec43eafaf52081d2dedc76d297c2696e8
treea8719acb4d684ef2a4bd9e666ddb9a7bee937e29
parentbf7a4b03b841958153e7893d87b4259cea93ad3e
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