/*****************************************************************************
* zsh.cpp: create zsh completion rule for vlc
*****************************************************************************
- * Copyright (C) 2005 the VideoLAN team
+ * Copyright © 2005-2008 the VideoLAN team
* $Id$
*
* Authors: Sigmund Augdal Helberg <dnumgis@videolan.org>
VLC_Destroy( 0 );
return i_ret;
}
- p_libvlc = (libvlc_int_t*)vlc_object_get( (vlc_object_t*)NULL, i_ret );
+ p_libvlc = (libvlc_int_t*)vlc_object_get( i_ret );
printf("#compdef vlc\n\n"
"#This file is autogenerated by zsh.cpp\n"
printf( "return ret\n" );
+ /* Exit early since we did not release all the objects we used,
+ * but we don't care, our task is over */
return 0;
+
/* Finish the threads */
VLC_CleanUp( 0 );