chiark / gitweb /
conf-parser: fix memory realloc error
authorYin Kangkai <kangkai.yin@intel.com>
Mon, 25 Nov 2013 15:14:46 +0000 (23:14 +0800)
committerLennart Poettering <lennart@poettering.net>
Mon, 25 Nov 2013 22:39:11 +0000 (23:39 +0100)
commit4ae7885c2c4d89e1149c3fb186a4fe3b49787cc7
treea6cd1870387df0a5ee422c187774a99b8dbb9a29
parent6301a98cdf26dc073f5317506c806bfa69f74cc8
conf-parser: fix memory realloc error

Otherwise there is some memory corruption and undefined behavior,
e.g., in my case systemd-udev was always aborted at the
_cleanup_freep_ around that code blocks.
src/shared/conf-parser.h