chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:01:41 +0000 (10:01 +0100)
commit9b3a72550211800eaf34348a76898ed37f931d27
treed3274e44bdba9026bf56760d7b1eaed9ad78485f
parentbbdb338a860d20c637a6445d458f341e87c1df05
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/libelogind/sd-device/device-private.c