lavfi/curves: fix memleak after master component dition.