X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fmacro.h;h=29d91392f8abc3848a3f454307ea9560f36a3a73;hb=bac3c8eefe23a820caac930d41629cebafbfc7b2;hp=700171b8324e45bc2b4c48e1b01b5c8e486ff4ef;hpb=f274ece0f76b5709408821e317e87aef76123db6;p=elogind.git diff --git a/src/shared/macro.h b/src/shared/macro.h index 700171b83..29d91392f 100644 --- a/src/shared/macro.h +++ b/src/shared/macro.h @@ -199,6 +199,7 @@ static inline size_t IOVEC_INCREMENT(struct iovec *i, unsigned n, size_t k) { #define _cleanup_close_ __attribute__((cleanup(closep))) #define _cleanup_closedir_ __attribute__((cleanup(closedirp))) #define _cleanup_umask_ __attribute__((cleanup(umaskp))) +#define _cleanup_set_free_ __attribute__((cleanup(set_freep))) #define _cleanup_strv_free_ __attribute__((cleanup(strv_freep))) #define VA_FORMAT_ADVANCE(format, ap) \