]> git.sesse.net Git - vlc/commitdiff
* ./include/modules_inner.h: fixed a crash when reopening a hidden
authorLoïc Minier <lool@videolan.org>
Wed, 22 May 2002 11:23:56 +0000 (11:23 +0000)
committerLoïc Minier <lool@videolan.org>
Wed, 22 May 2002 11:23:56 +0000 (11:23 +0000)
    module (by sam)

include/modules_inner.h

index 210bb1f4a26a17e86a7da8a881a922af0a4eba0f..8892969cb2300954c1334a08b3707ca667b75b0a 100644 (file)
@@ -2,7 +2,7 @@
  * modules_inner.h : Macros used from within a module.
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: modules_inner.h,v 1.19 2002/05/15 00:02:27 sam Exp $
+ * $Id: modules_inner.h,v 1.20 2002/05/22 11:23:56 lool Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -81,6 +81,7 @@
     {                                                                         \
         int i_shortcut = 1;                                                   \
         struct module_config_s* p_item;                                       \
+        STORE_SYMBOLS;                                                        \
         p_module->psz_name = MODULE_STRING;                                   \
         p_module->psz_longname = MODULE_STRING;                               \
         p_module->psz_program = NULL;                                         \
 #define MODULE_ACTIVATE_START                                                 \
     int __VLC_SYMBOL( ActivateModule ) ( module_t *p_module )                 \
     {                                                                         \
+        STORE_SYMBOLS;                                                        \
         p_module->p_functions =                                               \
           ( module_functions_t * )malloc( sizeof( module_functions_t ) );     \
         if( p_module->p_functions == NULL )                                   \