upeksonly: Fix memory leak of register data helper struct

This commit is contained in:
Benjamin Berg 2020-06-02 23:41:55 +02:00
parent d276c3489e
commit 49983c8ee7

View file

@ -581,6 +581,8 @@ write_regs_finished (struct write_regs_data *wrdata, GError *error)
fpi_ssm_next_state (wrdata->ssm);
else
fpi_ssm_mark_failed (wrdata->ssm, error);
g_free (wrdata);
}
static void write_regs_iterate (struct write_regs_data *wrdata);