chiark / gitweb /
unit: reduce heap usage for unit objects
[elogind.git] / src / automount.c
index b70f8b4684ad64d82c1fabe6a346219d5ecf418d..c4191f6706e2adbbbbf91936520d022de8b7a0f8 100644 (file)
@@ -836,6 +836,7 @@ DEFINE_STRING_TABLE_LOOKUP(automount_state, AutomountState);
 
 const UnitVTable automount_vtable = {
         .suffix = ".automount",
+        .object_size = sizeof(Automount),
         .sections =
                 "Unit\0"
                 "Automount\0"