diff --git a/src/wifi/wifid-supplicant.c b/src/wifi/wifid-supplicant.c index a2a3a43..f8955f1 100644 --- a/src/wifi/wifid-supplicant.c +++ b/src/wifi/wifid-supplicant.c @@ -1723,6 +1723,8 @@ static int supplicant_status_fn(struct wpas *w, NULL, 0, NULL); + wpas_message_unref(m); + m = NULL; if (r < 0) { log_vERR(r); goto error; @@ -1751,6 +1753,8 @@ static int supplicant_status_fn(struct wpas *w, s, 0, NULL); + wpas_message_unref(m); + m = NULL; if (r < 0) { log_vERR(r); goto error; @@ -1779,6 +1783,8 @@ static int supplicant_status_fn(struct wpas *w, s, 0, NULL); + wpas_message_unref(m); + m = NULL; if (r < 0) { log_vERR(r); goto error;