OSDN Git Service

2001-08-27 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Mon, 27 Aug 2001 19:01:09 +0000 (19:01 +0000)
committerjjohnstn <jjohnstn>
Mon, 27 Aug 2001 19:01:09 +0000 (19:01 +0000)
        * libltdl/ltdl.c (lt_dlinit): Initialize loaders to 0.
        (lt_dlexit): Reset loaders to 0 after freeing all loaders.

sid/component/cfgroot/ChangeLog
sid/component/cfgroot/libltdl/ltdl.c

index 4151f11..5ec1d47 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-27  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libltdl/ltdl.c (lt_dlinit): Initialize loaders to 0.
+       (lt_dlexit): Reset loaders to 0 after freeing all loaders.
+
 2001-07-13  Ben Elliston  <bje@redhat.com>
 
        * Makefile.am (check-local): Rename target from "checkme".
index 339e8d1..04ebc6d 100644 (file)
@@ -818,6 +818,7 @@ lt_dlinit LTDL_PARAMS((void))
                return 0;
        }
        handles = 0;
+       loaders = 0;
        user_search_path = 0; /* empty search path */
        
 #if HAVE_LIBDL
@@ -907,6 +908,7 @@ lt_dlexit LTDL_PARAMS((void))
                loader = next;
        }
 
+       loaders = 0;
        initialized = 0;
        return errors;
 }