[vlc-devel] commit: macosx: remove unused Objc memory pool (Jean-Paul Saman )
git version control
git at videolan.org
Mon Jun 15 14:47:32 CEST 2009
vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Sun Jun 14 19:57:04 2009 +0200| [27e4e1d28f5ce256e15c1601036a5f5ea8e63f4b] | committer: Derk-Jan Hartman
macosx: remove unused Objc memory pool
(cherry picked from commit da4abb05d25215581dbcf26582cf30632f6fe1e0)
Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27e4e1d28f5ce256e15c1601036a5f5ea8e63f4b
---
modules/gui/macosx/intf.h | 2 --
modules/gui/macosx/intf.m | 4 ----
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules/gui/macosx/intf.h b/modules/gui/macosx/intf.h
index 5c56000..21b4225 100644
--- a/modules/gui/macosx/intf.h
+++ b/modules/gui/macosx/intf.h
@@ -59,8 +59,6 @@ unsigned int CocoaKeyToVLC( unichar i_key );
*****************************************************************************/
struct intf_sys_t
{
- NSAutoreleasePool * o_pool;
-
/* special actions */
bool b_mute;
int i_play_status;
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index c93758f..3b96807 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -91,8 +91,6 @@ int OpenIntf ( vlc_object_t *p_this )
memset( p_intf->p_sys, 0, sizeof( *p_intf->p_sys ) );
- p_intf->p_sys->o_pool = [[NSAutoreleasePool alloc] init];
-
/* subscribe to LibVLCCore's messages */
p_intf->p_sys->p_sub = msg_Subscribe( p_intf->p_libvlc, MsgCallback, NULL );
p_intf->pf_run = Run;
@@ -108,8 +106,6 @@ void CloseIntf ( vlc_object_t *p_this )
{
intf_thread_t *p_intf = (intf_thread_t*) p_this;
- [p_intf->p_sys->o_pool release];
-
free( p_intf->p_sys );
}
More information about the vlc-devel
mailing list