This commit was generated by cvs2svn to compensate for changes in r176892,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
syrinx 2008-03-07 09:33:29 +00:00
commit 2dc85bfeba

View File

@ -2242,6 +2242,8 @@ lm_load(const char *path, const char *section)
return (m); return (m);
err: err:
if ((m->flags & LM_ONSTARTLIST) != 0)
TAILQ_REMOVE(&modules_start, m, start);
if (m->handle) if (m->handle)
dlclose(m->handle); dlclose(m->handle);
free(m->path); free(m->path);