]> git.droids-corp.org - protos/libecoli.git/blobdiff - libecoli/ecoli_log.c
node_any: check attribute presence
[protos/libecoli.git] / libecoli / ecoli_log.c
index e7577cdd3c98383a5ec2602699adf9bcee1d339d..aefba83e54930bc0d9fb1933d9eb211f81adf93c 100644 (file)
@@ -95,6 +95,7 @@ ec_log_type_register(const char *name)
        if (id >= 0)
                return id;
 
+       // XXX not that good to allocate in constructor
        new_types = ec_realloc(log_types,
                sizeof(*new_types) * (log_types_len + 1));
        if (new_types == NULL)