Bump liberty

The bugfixes in the config parser are worth it.

I might have slightly overused cstr_set().
This commit is contained in:
2020-10-19 19:52:48 +02:00
parent f79a8d38fb
commit a48c2cf4e5
6 changed files with 28 additions and 44 deletions

View File

@@ -225,12 +225,12 @@ paths_new (const char *device_path, const char *path, struct config_item *pwm)
static void
paths_destroy (struct paths *self)
{
free (self->temp);
cstr_set (&self->temp, NULL);
free (self->pwm);
free (self->pwm_enable);
free (self->pwm_min);
free (self->pwm_max);
cstr_set (&self->pwm, NULL);
cstr_set (&self->pwm_enable, NULL);
cstr_set (&self->pwm_min, NULL);
cstr_set (&self->pwm_max, NULL);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -