Systemd/src/libsystemd/sd-bus
Evgeny Vereshchagin a5fd31e66f tests: use sd_bus_flush_close_unref instead of sd_bus_unref in test-bus-cleanup
Fixes:
$ make valgrind-tests TESTS=test-bus-cleanup
==6363== 9 bytes in 1 blocks are possibly lost in loss record 1 of 28
==6363==    at 0x4C2BBCF: malloc (vg_replace_malloc.c:299)
==6363==    by 0x197D12: hexmem (hexdecoct.c:79)
==6363==    by 0x183083: bus_socket_start_auth_client (bus-socket.c:639)
==6363==    by 0x1832A0: bus_socket_start_auth (bus-socket.c:678)
==6363==    by 0x183438: bus_socket_connect (bus-socket.c:705)
==6363==    by 0x14B0F2: bus_start_address (sd-bus.c:1053)
==6363==    by 0x14B592: sd_bus_start (sd-bus.c:1134)
==6363==    by 0x14B95E: sd_bus_open_system (sd-bus.c:1235)
==6363==    by 0x1127E2: test_bus_open (test-bus-cleanup.c:42)
==6363==    by 0x112AAE: main (test-bus-cleanup.c:87)
==6363==
...
$ ./libtool --mode=execute valgrind ./test-bus-cleanup
==6584== LEAK SUMMARY:
...
==6584==      possibly lost: 10,566 bytes in 27 blocks
2016-01-05 15:40:25 +00:00
..
bus-bloom.c Merge pull request #1923 from zonque/siphash 2015-11-17 00:32:06 +01:00
bus-bloom.h tree-wide: add missing includes 2015-11-16 22:08:33 +01:00
bus-common-errors.c resolved: properly handle SRV RRs with the DNS root as hostname 2015-12-29 21:42:09 +01:00
bus-common-errors.h resolved: explicitly handle case when the trust anchor is empty 2016-01-04 22:42:10 +01:00
bus-container.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
bus-container.h libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
bus-control.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-control.h tree-wide: sort includes in *.h 2015-11-18 23:09:02 +01:00
bus-convenience.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-creds.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-creds.h sd-bus,sd-login: add api for querying the slice within the the user systemd instance of a process 2015-04-30 11:58:06 +02:00
bus-dump.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
bus-dump.h tree-wide: sort includes in *.h 2015-11-18 23:09:02 +01:00
bus-error.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
bus-error.h tree-wide: sort includes in *.h 2015-11-18 23:09:02 +01:00
bus-gvariant.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
bus-gvariant.h Revert "Revert "sd-bus: change serialization of kdbus messages to qualify in their entirety as gvariant objects"" 2015-02-16 15:03:44 +01:00
bus-internal.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
bus-internal.h tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-introspect.c util-lib: move more file I/O related calls into fileio.[ch] 2015-10-27 13:25:55 +01:00
bus-introspect.h tree-wide: sort includes in *.h 2015-11-18 23:09:02 +01:00
bus-kernel.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-kernel.h kdbus: remove attach_flags_mask module parameter setting 2015-06-03 22:24:16 +02:00
bus-match.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-match.h util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
bus-message.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-message.h util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
bus-objects.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-objects.h sd-bus: introduce sd_bus_slot objects encapsulating callbacks or vtables attached to a bus connection 2014-05-15 01:15:30 +02:00
bus-protocol.h Revert "Revert "sd-bus: change serialization of kdbus messages to qualify in their entirety as gvariant objects"" 2015-02-16 15:03:44 +01:00
bus-signature.c libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
bus-signature.h remove unused includes 2015-02-23 23:53:42 +01:00
bus-slot.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-slot.h tree-wide: sort includes in *.h 2015-11-18 23:09:02 +01:00
bus-socket.c selinux: split up mac_selinux_have() from mac_selinux_use() 2015-11-27 20:28:13 +01:00
bus-socket.h libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
bus-track.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
bus-track.h bus: add sd_bus_track object for tracking peers, and port core over to it 2014-03-03 02:34:13 +01:00
bus-type.c remove unused includes 2015-02-23 23:53:42 +01:00
bus-type.h util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
busctl-introspect.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
busctl-introspect.h remove unused includes 2015-02-23 23:53:42 +01:00
busctl.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
DIFFERENCES Revert "Revert "sd-bus: change serialization of kdbus messages to qualify in their entirety as gvariant objects"" 2015-02-16 15:03:44 +01:00
GVARIANT-SERIALIZATION Remove repeated 'the's 2015-07-07 07:40:53 -04:00
kdbus.h sd-bus: support matching on destination names 2015-07-06 17:45:33 +02:00
Makefile libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
PORTING-DBUS1 sd-bus: sync with kdbus upstream (ABI break) 2014-11-13 20:41:52 +01:00
sd-bus.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-benchmark.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-chat.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-cleanup.c tests: use sd_bus_flush_close_unref instead of sd_bus_unref in test-bus-cleanup 2016-01-05 15:40:25 +00:00
test-bus-creds.c tests: turn check if manager cannot be intialized into macro 2015-12-02 09:50:00 -05:00
test-bus-error.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-gvariant.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-introspect.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-bus-kernel-bloom.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-kernel.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-marshal.c tests: fix memory leak in test-bus-marshal 2015-12-29 12:56:59 +00:00
test-bus-match.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-objects.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-proxy.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-server.c tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy 2015-11-27 19:19:36 +01:00
test-bus-signature.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00
test-bus-zero-copy.c tree-wide: sort includes 2015-11-16 22:09:36 +01:00