MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / sr_config_free

Function sr_config_free

libsigrok4DSL/hwdriver.c:187–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187SR_PRIV void sr_config_free(struct sr_config *src)
188{
189
190 if (!src || !src->data) {
191 sr_err("%s: invalid data!", __func__);
192 return;
193 }
194
195 g_variant_unref(src->data);
196 g_free(src);
197
198}
199
200/**
201 * Returns information about the given driver or device instance.

Callers 4

ds_free_configFunction · 0.85
loadfileFunction · 0.85
loadfileFunction · 0.85
loadfileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected