chiark / gitweb /
unit: reduce heap usage for unit objects
[elogind.git] / src / path.c
index 957af05c7eb6651b361e491ad51cf396fc5d79cd..ae5052aeab6e009db34a1e6721958fc9254a2464 100644 (file)
@@ -717,6 +717,7 @@ DEFINE_STRING_TABLE_LOOKUP(path_type, PathType);
 
 const UnitVTable path_vtable = {
         .suffix = ".path",
+        .object_size = sizeof(Path),
         .sections =
                 "Unit\0"
                 "Path\0"