chiark / gitweb /
systemctl: add "systemctl cat"
[elogind.git] / src / shared / util.c
index 206fc803d0e8b3f04a50fd0baf5cea1ff1a00f5c..305a6c2fb654534040c75da8cb8837549c4e5110 100644 (file)
@@ -5791,6 +5791,8 @@ void* greedy_realloc(void **p, size_t *allocated, size_t need) {
         size_t a;
         void *q;
 
+        assert(allocated);
+
         if (*allocated >= need)
                 return *p;