--- health/mcap.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/health/mcap.c b/health/mcap.c index 4c726b6..b76d88a 100644 --- a/health/mcap.c +++ b/health/mcap.c @@ -901,6 +901,7 @@ static gboolean parse_set_opts(struct mcap_mdl_cb *mdl_cb, GError **err, default: g_set_error(err, MCAP_ERROR, MCAP_ERROR_INVALID_ARGS, "Unknown option %d", cb); + g_free(c); return FALSE; } cb = va_arg(args, int); -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html