[vlc-devel] commit: Remove unuse variable (and one memleak in the same time) (CID 201) ( Rémi Duraffort )
git version control
git at videolan.org
Sun Oct 5 19:02:27 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct 5 19:01:25 2008 +0200| [44286759a7863935c65756d25301f5c9528a4deb] | committer: Rémi Duraffort
Remove unuse variable (and one memleak in the same time) (CID 201)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44286759a7863935c65756d25301f5c9528a4deb
---
modules/access/dvb/en50221.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/access/dvb/en50221.c b/modules/access/dvb/en50221.c
index e00db71..3bc9573 100644
--- a/modules/access/dvb/en50221.c
+++ b/modules/access/dvb/en50221.c
@@ -815,10 +815,8 @@ static int APDUSend( access_t * p_access, int i_session_id, int i_tag,
}
else
{
- char *psz_hex;
ca_msg.length = i_size + p - p_apdu;
if ( i_size == 0 ) ca_msg.length=3;
- psz_hex = (char*)malloc( ca_msg.length*3 + 1);
memcpy( ca_msg.msg, p_apdu, i_size + p - p_apdu );
i_ret = ioctl(p_sys->i_ca_handle, CA_SEND_MSG, &ca_msg );
if ( i_ret < 0 )
More information about the vlc-devel
mailing list