in filename/*pdir.
From Jon Leichter <jon@symas.com>
2000-02-03 Gary V. Vaughan <gary@oranda.demon.co.uk>
+ * libltdl/ltdl.c (find_file): Prevent early release of memory
+ in filename/*pdir.
+ From Jon Leichter <jon@symas.com>
+
(sys_wll_init): Deleted. No longer required. And this time,
with feeling!
(sys_wll_exit): Ditto.
strdup, but there would be some
memory overhead. */
*pdir = filename;
- } else
filename = 0;
+ }
result = (lt_ptr_t) file;
goto cleanup;
}
if (!deplibs)
return 0;
save_search_path = strdup(user_search_path);
- if (user_search_path && !save_search_path) {
+ if (user_search_path && !save_search_path) {
last_error = LT_DLSTRERROR(NO_MEMORY);
return 1;
}