chiark / gitweb /
Prep v225: Applying various fixes and changes to src/shared that got lost during...
[elogind.git] / src / shared / conf-parser.c
index 7370c786f9a644510924e34cc38025455959034e..8e4aa957b7a41aa8c769197cc2aa05373e45ee43 100644 (file)
@@ -333,8 +333,7 @@ int config_parse(const char *unit,
                                 return -ENOMEM;
                         }
 
-                        free(continuation);
-                        continuation = NULL;
+                        continuation = mfree(continuation);
                         p = c;
                 } else
                         p = l;
@@ -487,6 +486,8 @@ int config_parse_iec_size(const char* unit,
         return 0;
 }
 
+/// UNNEEDED by elogind
+#if 0
 int config_parse_si_size(const char* unit,
                             const char *filename,
                             unsigned line,
@@ -544,6 +545,7 @@ int config_parse_iec_off(const char* unit,
 
         return 0;
 }
+#endif // 0
 
 int config_parse_bool(const char* unit,
                       const char *filename,