Skip to content

Fix small memory leaks

Simon McVittie requested to merge smcv/dbus:misc-leaks into master
  • bus_container_instance_new: Don't leak empty DBusString object

    We already stole its data, but that allocated a new buffer, which we still need to free.

  • bus_driver_handle_become_monitor: Don't leak zero-length array of rules

    Only privileged users can trigger this leak, so it is not a denial of service attack.

Merge request reports