fix memleak, init and compil

Origin commit data
------------------
Branch: master
Commit: f89bffb34f
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-11-10 (Fri, 10 Nov 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-11-10 12:25:58 +01:00
committed by TangoCash
parent 9d8a2ee268
commit 74a3c1dfe6
2 changed files with 4 additions and 2 deletions

View File

@@ -1037,7 +1037,7 @@ void cCA::setInputs()
if (fd)
{
printf("set input%d to tuner %s\n", number, getTunerLetter(number).c_str());
fprintf(fd, getTunerLetter(number).c_str());
fprintf(fd,"%s", getTunerLetter(number).c_str());
}
else
{