chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sd-event: fix sd_event_source_get_priority() (#4712)
[elogind.git]
/
src
/
libelogind
/
sd-bus
/
bus-slot.c
diff --git
a/src/libelogind/sd-bus/bus-slot.c
b/src/libelogind/sd-bus/bus-slot.c
index 364360ccaea16ebced20c2b87156899353f34d5d..cd5e9767470906d25ee7f37e93f344e508616f53 100644
(file)
--- a/
src/libelogind/sd-bus/bus-slot.c
+++ b/
src/libelogind/sd-bus/bus-slot.c
@@
-212,9
+212,7
@@
_public_ sd_bus_slot* sd_bus_slot_unref(sd_bus_slot *slot) {
bus_slot_disconnect(slot);
free(slot->description);
- free(slot);
-
- return NULL;
+ return mfree(slot);
}
#if 0 /// UNNEEDED by elogind