lib/syslinux: Port to new code style
authorColin Walters <walters@verbum.org>
Fri, 8 Sep 2017 13:31:03 +0000 (09:31 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 8 Sep 2017 18:00:19 +0000 (18:00 +0000)
commit067da211cd63a62cc03dc2745d40b9aa0e64dabc
treeda4e76e61e3f49d0626f55ac04b442d5bc2e2775
parent3594bb2d0f6818a97adc95655bd136267e27fe4c
lib/syslinux: Port to new code style

There was only one tricky bit here around the ownership of the lines; I made use
of `g_steal_pointer()` to consistently track ownership, and converted to a `for`
loop while still preserving the loop logic around the last entry.

Closes: #1154
Approved by: jlebon
src/libostree/ostree-bootloader-syslinux.c