chiark / gitweb /
unit: reduce heap usage for unit objects
[elogind.git] / src / service.c
index 113be34ad0b3ccbcb4ca2870620d77991249d183..6ce6b19db9a2c0602b9274e4f28e935bd4bd9398 100644 (file)
@@ -3553,6 +3553,7 @@ DEFINE_STRING_TABLE_LOOKUP(notify_access, NotifyAccess);
 
 const UnitVTable service_vtable = {
         .suffix = ".service",
+        .object_size = sizeof(Service),
         .sections =
                 "Unit\0"
                 "Service\0"