PERROR("Failed to copy kernel probe location symbol name.");
goto error;
}
- offset = strtoul(s_hex, NULL, 0);
+ offset = strtoull(s_hex, NULL, 0);
*location = lttng_kernel_probe_location_symbol_create(
symbol_name, offset);
goto error;
}
- address = strtoul(s_hex, NULL, 0);
+ address = strtoull(s_hex, NULL, 0);
*location = lttng_kernel_probe_location_address_create(address);
if (!*location) {
ERR("Failed to create symbol kernel probe location.");
event_expr = ir_op_root_to_event_expr(
parser_ctx->ir_root, arg);
+ filter_parser_ctx_free(parser_ctx);
+ parser_ctx = NULL;
if (!event_expr) {
/*
* ir_op_root_to_event_expr has printed