chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unit: reduce heap usage for unit objects
[elogind.git]
/
src
/
path.c
diff --git
a/src/path.c
b/src/path.c
index 957af05c7eb6651b361e491ad51cf396fc5d79cd..ae5052aeab6e009db34a1e6721958fc9254a2464 100644
(file)
--- a/
src/path.c
+++ b/
src/path.c
@@
-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"