Commit eb48ec1f authored by Rémi Duraffort's avatar Rémi Duraffort

Really fix this.

parent 2d96ffcf
...@@ -527,11 +527,13 @@ int BDAGraph::SubmitDVBSTuneRequest() ...@@ -527,11 +527,13 @@ int BDAGraph::SubmitDVBSTuneRequest()
p_dvbs_locator->Release(); p_dvbs_locator->Release();
SysFreeString( bstr_input_range ); SysFreeString( bstr_input_range );
delete pwsz_input_range; delete pwsz_input_range;
free( psz_input_range );
free( psz_polarisation );
} }
} l; } l;
long l_frequency, l_symbolrate, l_azimuth, l_elevation, l_longitude; long l_frequency, l_symbolrate, l_azimuth, l_elevation, l_longitude;
long l_lnb_lof1, l_lnb_lof2, l_lnb_slof, l_inversion, l_network_id; long l_lnb_lof1, l_lnb_lof2, l_lnb_slof, l_inversion, l_network_id;
long l_input_range, l_hp_fec; long l_hp_fec;
int i_mod; int i_mod;
Polarisation i_polar; Polarisation i_polar;
SpectralInversion i_inversion; SpectralInversion i_inversion;
...@@ -541,7 +543,6 @@ int BDAGraph::SubmitDVBSTuneRequest() ...@@ -541,7 +543,6 @@ int BDAGraph::SubmitDVBSTuneRequest()
l_frequency = l_symbolrate = l_azimuth = l_elevation = l_longitude = -1; l_frequency = l_symbolrate = l_azimuth = l_elevation = l_longitude = -1;
l_lnb_lof1 = l_lnb_lof2 = l_lnb_slof = l_inversion = l_network_id = -1; l_lnb_lof1 = l_lnb_lof2 = l_lnb_slof = l_inversion = l_network_id = -1;
l_input_range = l_hp_fec = i_mod = -1;
l_frequency = var_GetInteger( p_access, "dvb-frequency" ); l_frequency = var_GetInteger( p_access, "dvb-frequency" );
l_symbolrate = var_GetInteger( p_access, "dvb-srate" ); l_symbolrate = var_GetInteger( p_access, "dvb-srate" );
l_azimuth = var_GetInteger( p_access, "dvb-azimuth" ); l_azimuth = var_GetInteger( p_access, "dvb-azimuth" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment