X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ffilter.cpp;h=f0b248e88155e51e54773163532a90da3e949cca;hb=5f53c4bbc0836a697a5cde7d81de00ad68001b57;hp=2bff02031f2b97d5220bf034af286f2e3e386682;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/common/filter.cpp b/src/common/filter.cpp index 2bff02031..f0b248e88 100644 --- a/src/common/filter.cpp +++ b/src/common/filter.cpp @@ -23,7 +23,7 @@ struct bytecode_symbol_iterator *bytecode_symbol_iterator_create( goto end; } - it = (bytecode_symbol_iterator *) zmalloc(sizeof(*it)); + it = zmalloc(); if (!it) { goto end; }