output: Check options hash before destroying.
This commit is contained in:
parent
dcc55fe91a
commit
706f482a95
|
@ -264,6 +264,7 @@ SR_API const struct sr_output *sr_output_new(const struct sr_output_module *o,
|
||||||
g_free(op);
|
g_free(op);
|
||||||
op = NULL;
|
op = NULL;
|
||||||
}
|
}
|
||||||
|
if (new_opts)
|
||||||
g_hash_table_destroy(new_opts);
|
g_hash_table_destroy(new_opts);
|
||||||
|
|
||||||
return op;
|
return op;
|
||||||
|
|
Loading…
Reference in New Issue