[vlc-devel] commit: Really fix this. ( Rémi Duraffort )

git version control git at videolan.org
Mon Dec 15 21:30:51 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Dec 15 21:30:31 2008 +0100| [eb48ec1fe659e6e56db41865a671448ac08c9ae4] | committer: Rémi Duraffort 

Really fix this.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb48ec1fe659e6e56db41865a671448ac08c9ae4
---

 modules/access/bda/bdagraph.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/access/bda/bdagraph.cpp b/modules/access/bda/bdagraph.cpp
index af1d2a2..80a2669 100644
--- a/modules/access/bda/bdagraph.cpp
+++ b/modules/access/bda/bdagraph.cpp
@@ -527,11 +527,13 @@ int BDAGraph::SubmitDVBSTuneRequest()
                 p_dvbs_locator->Release();
             SysFreeString( bstr_input_range );
             delete pwsz_input_range;
+            free( psz_input_range );
+            free( psz_polarisation );
         }
     } l;
     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_input_range, l_hp_fec;
+    long l_hp_fec;
     int  i_mod;
     Polarisation i_polar;
     SpectralInversion i_inversion;
@@ -541,7 +543,6 @@ int BDAGraph::SubmitDVBSTuneRequest()
 
     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_input_range = l_hp_fec = i_mod = -1;
     l_frequency = var_GetInteger( p_access, "dvb-frequency" );
     l_symbolrate = var_GetInteger( p_access, "dvb-srate" );
     l_azimuth = var_GetInteger( p_access, "dvb-azimuth" );




More information about the vlc-devel mailing list