X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=blobdiff_plain;f=liblttng-ust%2Flttng-filter.c;h=ee562dd0f6a61a1193989ba7e27cf4cf046047cb;hp=c0e93b65c7395973e4a90612b21e9019188cecb2;hb=fe65ab8285a8763a93c21860f4f5e4c68e756255;hpb=a211b293bc6a610bed73a60006967663a30e4931 diff --git a/liblttng-ust/lttng-filter.c b/liblttng-ust/lttng-filter.c index c0e93b65..ee562dd0 100644 --- a/liblttng-ust/lttng-filter.c +++ b/liblttng-ust/lttng-filter.c @@ -557,16 +557,6 @@ int lttng_filter_enabler_attach_bytecode(struct lttng_enabler *enabler, return 0; } -void lttng_free_enabler_filter_bytecode(struct lttng_enabler *enabler) -{ - struct lttng_ust_filter_bytecode_node *filter_bytecode, *tmp; - - cds_list_for_each_entry_safe(filter_bytecode, tmp, - &enabler->filter_bytecode_head, node) { - free(filter_bytecode); - } -} - void lttng_free_event_filter_runtime(struct lttng_event *event) { struct bytecode_runtime *runtime, *tmp;