mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-15 04:42:06 +00:00
miracle-srcctl: fix memory management issues
This commit is contained in:
parent
20ff174fe8
commit
d239c528ff
1 changed files with 2 additions and 0 deletions
|
@ -774,7 +774,9 @@ static int ctl_interactive(char **argv, int argc)
|
||||||
r = cli_run();
|
r = cli_run();
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
stop_sender();
|
||||||
ctl_src_free(src);
|
ctl_src_free(src);
|
||||||
|
src = NULL;
|
||||||
cli_destroy();
|
cli_destroy();
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue