chiark / gitweb /
unit: reduce heap usage for unit objects
[elogind.git] / src / target.c
index 340e9907f0d56084f77e7792c36b043234e0eb9e..b774cfbc3342adc60a33a63c534f54f8b986985d 100644 (file)
@@ -199,6 +199,7 @@ DEFINE_STRING_TABLE_LOOKUP(target_state, TargetState);
 
 const UnitVTable target_vtable = {
         .suffix = ".target",
+        .object_size = sizeof(Target),
         .sections =
                 "Unit\0"
                 "Target\0"