tree-wide: use _cleanup_set_free_ and friends
Instead of _cleanup_(set_freep) or so.
This commit is contained in:
@@ -20,7 +20,7 @@ static void dump_changes(InstallChange *c, unsigned n) {
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
_cleanup_(hashmap_freep) Hashmap *h = NULL;
|
||||
_cleanup_hashmap_free_ Hashmap *h = NULL;
|
||||
UnitFileList *p;
|
||||
int r;
|
||||
const char *const files[] = { "avahi-daemon.service", NULL };
|
||||
|
||||
Reference in New Issue
Block a user