zabbix-tools / zabbix-module-systemd

Native systemd monitoring for Zabbix
MIT License
90 stars 17 forks source link

remove unnecessary unrefs to dbus message #43

Open Viste opened 4 years ago

Viste commented 4 years ago

remove unnecessary unrefs to dbus message introduced in https://github.com/cavaliercoder/zabbix-module-systemd/commit/c6c2c26f2c995167ba2da0508de013bddcc73b19 because they break systemd.service.info[] key this fix don't open memleak again just remove my excessive desire to free up memory.

Viste commented 4 years ago

@cavaliercoder @jangaraj

wpoely86 commented 4 years ago

Without this patch I get a zabbix agent that crashes if you ask the status of a systemd unit which was remove (but loaded prior to removal).

So please merge it.