diff options
Diffstat (limited to 'audio/headset.c')
-rw-r--r-- | audio/headset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/headset.c b/audio/headset.c index 0a7f18ed..9ba2138a 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -2040,8 +2040,7 @@ uint32_t headset_config_init(GKeyFile *config) &err); if (err) { debug("audio.conf: %s", err->message); - g_error_free(err); - err = NULL; + g_clear_error(&err); } else { if (strcmp(str, "PCM") == 0) sco_hci = FALSE; |