]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libudev/libudev-hwdb.c
tree-wide: expose "p"-suffix unref calls in public APIs to make gcc cleanup easy
[thirdparty/systemd.git] / src / libudev / libudev-hwdb.c
index eba698d163e57689f956f5526e0d62de97dab7fb..a53f000015468046157d84dd6f7f5ab72424b18a 100644 (file)
@@ -53,7 +53,7 @@ struct udev_hwdb {
  * Returns: a hwdb context.
  **/
 _public_ struct udev_hwdb *udev_hwdb_new(struct udev *udev) {
-        _cleanup_hwdb_unref_ sd_hwdb *hwdb_internal = NULL;
+        _cleanup_(sd_hwdb_unrefp) sd_hwdb *hwdb_internal = NULL;
         struct udev_hwdb *hwdb;
         int r;