if (!o || !o->sdi)
return SR_ERR_ARG;
- o->priv = ctx = g_try_malloc0(sizeof(struct context));
+ o->priv = ctx = g_malloc0(sizeof(struct context));
s = g_variant_get_string(g_hash_table_lookup(options, "digits"), NULL);
if (!strcmp(s, "all"))
ctx->digits = DIGITS_ALL;
.id = "analog",
.name = "Analog",
.desc = "Analog data and types",
+ .exts = NULL,
.options = get_options,
.init = init,
.receive = receive,