mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-01-27 20:40:27 +01:00
This should not have any effect on behaviour. The goal is to align with the pattern that I think we should follow: Object initialization: - put() is the place to create references from other objects to the newly created object. In this case, adding the transport to discovery->transports was moved from new() to put, and adding the transport to device->transports was moved from set_state() to put(). Object destruction: - unlink() undoes put() and removes all references from other objects to the object being unlinked. In this case setting the device->transports pointer to NULL was moved from set_state() to unlink(), and setting the discovery->transports pointer to NULL was moved from free() to unlink(). - free() undoes new(), but also calls unlink() so that object owners don't need to remember to call unlink() before free(). |
||
|---|---|---|
| .. | ||
| a2dp-codecs.h | ||
| backend-null.c | ||
| backend-ofono.c | ||
| bluez4-util.c | ||
| bluez4-util.h | ||
| bluez5-util.c | ||
| bluez5-util.h | ||
| module-bluetooth-discover.c | ||
| module-bluetooth-policy.c | ||
| module-bluez4-device.c | ||
| module-bluez4-discover.c | ||
| module-bluez5-device.c | ||
| module-bluez5-discover.c | ||
| rtp.h | ||