Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / filter.cpp
index 2bff02031f2b97d5220bf034af286f2e3e386682..f0b248e88155e51e54773163532a90da3e949cca 100644 (file)
@@ -23,7 +23,7 @@ struct bytecode_symbol_iterator *bytecode_symbol_iterator_create(
                goto end;
        }
 
-       it = (bytecode_symbol_iterator *) zmalloc(sizeof(*it));
+       it = zmalloc<bytecode_symbol_iterator>();
        if (!it) {
                goto end;
        }
This page took 0.023126 seconds and 4 git commands to generate.