Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / event-field-value.cpp
index 816017a2da77fe1e316fdf0f347c1bcfa0512df4..3ab12728c769ae9f642fdc236646664e8a49bf1b 100644 (file)
@@ -23,7 +23,7 @@ struct lttng_event_field_value *create_empty_field_val(
 {
        struct lttng_event_field_value *field_val;
 
-       field_val = (lttng_event_field_value *) zmalloc(size);
+       field_val = zmalloc<lttng_event_field_value>(size);
        if (!field_val) {
                goto end;
        }
This page took 0.023375 seconds and 4 git commands to generate.