mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
committed by
TangoCash
parent
9d8a2ee268
commit
74a3c1dfe6
@@ -1037,7 +1037,7 @@ void cCA::setInputs()
|
|||||||
if (fd)
|
if (fd)
|
||||||
{
|
{
|
||||||
printf("set input%d to tuner %s\n", number, getTunerLetter(number).c_str());
|
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
|
else
|
||||||
{
|
{
|
||||||
|
@@ -325,7 +325,7 @@ GstBusSyncReply Gst_bus_call(GstBus *bus, GstMessage *msg, gpointer user_data)
|
|||||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||||
{
|
{
|
||||||
GstIterator *children;
|
GstIterator *children;
|
||||||
GValue r = { 0, };
|
GValue r = G_VALUE_INIT;
|
||||||
|
|
||||||
if (audioSink)
|
if (audioSink)
|
||||||
{
|
{
|
||||||
@@ -390,6 +390,8 @@ GstBusSyncReply Gst_bus_call(GstBus *bus, GstMessage *msg, gpointer user_data)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if(sourceName)
|
||||||
|
g_free(sourceName);
|
||||||
|
|
||||||
return GST_BUS_DROP;
|
return GST_BUS_DROP;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user