mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
miracle-wifid: fix some leaks of wpas_message
This commit is contained in:
parent
b093e9eacb
commit
75a930b828
1 changed files with 6 additions and 0 deletions
|
@ -1723,6 +1723,8 @@ static int supplicant_status_fn(struct wpas *w,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
NULL);
|
NULL);
|
||||||
|
wpas_message_unref(m);
|
||||||
|
m = NULL;
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_vERR(r);
|
log_vERR(r);
|
||||||
goto error;
|
goto error;
|
||||||
|
@ -1751,6 +1753,8 @@ static int supplicant_status_fn(struct wpas *w,
|
||||||
s,
|
s,
|
||||||
0,
|
0,
|
||||||
NULL);
|
NULL);
|
||||||
|
wpas_message_unref(m);
|
||||||
|
m = NULL;
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_vERR(r);
|
log_vERR(r);
|
||||||
goto error;
|
goto error;
|
||||||
|
@ -1779,6 +1783,8 @@ static int supplicant_status_fn(struct wpas *w,
|
||||||
s,
|
s,
|
||||||
0,
|
0,
|
||||||
NULL);
|
NULL);
|
||||||
|
wpas_message_unref(m);
|
||||||
|
m = NULL;
|
||||||
if (r < 0) {
|
if (r < 0) {
|
||||||
log_vERR(r);
|
log_vERR(r);
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue