1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracle-srcctl: fix memory management issues

This commit is contained in:
Derek Dai 2016-12-20 16:08:57 +08:00 committed by edurenye
parent 191eb4dbe9
commit f702a2394a

View file

@ -774,7 +774,9 @@ static int ctl_interactive(char **argv, int argc)
r = cli_run();
error:
stop_sender();
ctl_src_free(src);
src = NULL;
cli_destroy();
return r;
}