sd-device: ensure update_properties_buf() is a noop on failure
authorTom Gundersen <teg@jklm.no>
Mon, 1 Jun 2015 14:28:58 +0000 (16:28 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 1 Jun 2015 14:28:58 +0000 (16:28 +0200)
commitccc1002a1c510b7d4631833eaf60225f028f2280
treebbe5e21d30d164c3fc2f2c2a5cde08092d323d59
parentc521a430fd6027d55f96516bc2f7570f5997e137
sd-device: ensure update_properties_buf() is a noop on failure

Don't clobber the sd_device struct, and don't leak memory when memory allocation fails.
src/libsystemd/sd-device/device-private.c