1
0
Fork 0
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:
Derek Dai 2016-12-20 16:08:57 +08:00
parent 20ff174fe8
commit d239c528ff
No known key found for this signature in database
GPG key ID: E109CC97553EF009

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;
}