upeksonly: Fix memory leak of register data helper struct
This commit is contained in:
parent
d276c3489e
commit
49983c8ee7
1 changed files with 2 additions and 0 deletions
|
@ -581,6 +581,8 @@ write_regs_finished (struct write_regs_data *wrdata, GError *error)
|
||||||
fpi_ssm_next_state (wrdata->ssm);
|
fpi_ssm_next_state (wrdata->ssm);
|
||||||
else
|
else
|
||||||
fpi_ssm_mark_failed (wrdata->ssm, error);
|
fpi_ssm_mark_failed (wrdata->ssm, error);
|
||||||
|
|
||||||
|
g_free (wrdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void write_regs_iterate (struct write_regs_data *wrdata);
|
static void write_regs_iterate (struct write_regs_data *wrdata);
|
||||||
|
|
Loading…
Reference in a new issue