chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shared: call va_end in all cases
[elogind.git]
/
src
/
shared
/
dbus-common.h
diff --git
a/src/shared/dbus-common.h
b/src/shared/dbus-common.h
index e49c3b5258816dcd05f0da3b26cf354cf3ad9a9e..7294206bc42c317d84f97d131d873050e02e7859 100644
(file)
--- a/
src/shared/dbus-common.h
+++ b/
src/shared/dbus-common.h
@@
-213,3
+213,6
@@
int bus_method_call_with_reply(DBusConnection *bus,
DBusMessage **return_reply,
DBusError *return_error,
int first_arg_type, ...);
DBusMessage **return_reply,
DBusError *return_error,
int first_arg_type, ...);
+
+void dbus_message_unref_p(DBusMessage **reply);
+#define _cleanup_dbus_msg_unref_ __attribute__((cleanup(dbus_message_unref_p)))