re-apply ltdl.c#1.8:
authorfcusack <fcusack>
Wed, 21 Mar 2007 07:08:52 +0000 (07:08 +0000)
committerfcusack <fcusack>
Wed, 21 Mar 2007 07:08:52 +0000 (07:08 +0000)
Do a better job of freeing allocated memory

libltdl/ltdl.c

index 5fa663b..b6a33c7 100644 (file)
@@ -2361,6 +2361,8 @@ lt_dlexit ()
          LT_DLMEM_REASSIGN (loader, next);
        }
       loaders = 0;
+
+      LT_DLFREE (user_search_path);
     }
 
  done: