tree-wide: use _cleanup_set_free_ and friends
Instead of _cleanup_(set_freep) or so.
This commit is contained in:
+1
-1
@@ -281,7 +281,7 @@ static int process_dmesg_files(PStoreList *list) {
|
||||
}
|
||||
|
||||
static int list_files(PStoreList *list, const char *sourcepath) {
|
||||
_cleanup_(closedirp) DIR *dirp = NULL;
|
||||
_cleanup_closedir_ DIR *dirp = NULL;
|
||||
int r;
|
||||
|
||||
dirp = opendir(sourcepath);
|
||||
|
||||
Reference in New Issue
Block a user