sr_err("Output module context malloc failed.");
return SR_ERR_MALLOC;
}
- o->internal = ctx;
+ o->priv = ctx;
/* Get the number of channels and their names. */
ctx->channellist = g_ptr_array_new();
if (!o || !o->sdi)
return SR_ERR_ARG;
- ctx = o->internal;
+ ctx = o->priv;
g_ptr_array_free(ctx->channellist, 1);
g_free(ctx);
- o->internal = NULL;
+ o->priv = NULL;
return SR_OK;
}