chiark / gitweb /
systemd-python: fix memory leak in _reader and minor bugs
authorSteven Hiscocks <steven@hiscocks.me.uk>
Sun, 17 Feb 2013 14:27:59 +0000 (14:27 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 22 Feb 2013 15:57:44 +0000 (16:57 +0100)
commit6d0c634ca32c772c72b0bb4207866e2a35f4eadb
tree27e699ae9a8baf7f54fc77eb7db0d698c380fb41
parentc71f26eba57a8263dc28c99f9f446e0a75307f34
systemd-python: fix memory leak in _reader and minor bugs

iternext now checks for error from get_next, and changed a DECREF to
XDECREF rather than NULL check
src/python-systemd/_reader.c