Changeset 525 in openpam
- Timestamp:
- Jan 11, 2012, 12:45:09 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/openpam_dynamic.c
r521 r525 100 100 } 101 101 #endif 102 102 103 103 /* 104 104 * OpenPAM internal … … 132 132 dlh = try_dlopen(vpath); 133 133 } 134 serrno = errno;135 FREE(vpath);136 errno = serrno;137 134 if (dlh == NULL) 138 135 goto err; … … 165 162 } 166 163 } 164 FREE(vpath); 167 165 return (module); 168 166 buf_err: 167 serrno = errno; 169 168 if (dlh != NULL) 170 169 dlclose(dlh); 171 170 FREE(module); 171 errno = serrno; 172 172 err: 173 serrno = errno; 173 174 if (errno != 0) 174 openpam_log(PAM_LOG_ERROR, "%s: %m", path); 175 openpam_log(PAM_LOG_ERROR, "%s: %m", vpath); 176 FREE(vpath); 177 errno = serrno; 175 178 return (NULL); 176 179 }
Note: See TracChangeset
for help on using the changeset viewer.