[vlc-devel] commit: Don't print a message a malloc failed. ( Rémi Duraffort )
git version control
git at videolan.org
Fri Aug 1 16:18:07 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Aug 1 16:11:28 2008 +0200| [688f0a8d8913f20ac5d3e27bf4f2bbe35c9f5de7] | committer: Rémi Duraffort
Don't print a message a malloc failed.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=688f0a8d8913f20ac5d3e27bf4f2bbe35c9f5de7
---
modules/control/rc.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/modules/control/rc.c b/modules/control/rc.c
index 8b3b8d6..2caddd2 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -324,10 +324,7 @@ static int Activate( vlc_object_t *p_this )
p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
if( !p_intf->p_sys )
- {
- msg_Err( p_intf, "no memory" );
return VLC_ENOMEM;
- }
p_intf->p_sys->pi_socket_listen = pi_socket;
p_intf->p_sys->i_socket = -1;
More information about the vlc-devel
mailing list