Plug memory leak.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@383 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
2e1db320ba
commit
b158155823
|
@ -80,6 +80,7 @@ openpam_dynamic(const char *path)
|
|||
*strrchr(vpath, '.') = '\0';
|
||||
if ((dlh = dlopen(vpath, RTLD_NOW)) == NULL) {
|
||||
openpam_log(PAM_LOG_DEBUG, "%s: %s", vpath, dlerror());
|
||||
FREE(vpath);
|
||||
FREE(module);
|
||||
return (NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue