Anders Waldenborg <and...@0x63.nu> writes: > + else if (skip_prefix(arg, "key=", &arg)) { > + const char *end = arg + strcspn(arg, > ",)"); > + > + if (opts.filter_key) > + free(opts.filter_key);
Call the free() unconditionally, cf. contrib/coccinelle/free.cocci.