discover-image: use TAKE_PTR() where appropriate

This commit is contained in:
Lennart Poettering
2023-11-15 22:53:35 +01:00
parent 25cdbd0428
commit 5df1a5538b
+1 -1
View File
@@ -654,7 +654,7 @@ int image_discover(
if (r < 0)
return r;
image = NULL;
TAKE_PTR(image);
}
}