Changeset 300 in openpam for trunk/lib


Ignore:
Timestamp:
Feb 1, 2005, 11:57:49 AM (15 years ago)
Author:
Dag-Erling Smørgrav
Message:

Additional healthy paranoia.

Obtained from: NetBSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_load.c

    r262 r300  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/openpam_load.c#20 $
     34 * $P4: //depot/projects/openpam/lib/openpam_load.c#21 $
    3535 */
    3636
     
    174174        int i;
    175175
    176         for (i = 0; i < PAM_NUM_FACILITIES; ++i)
     176        for (i = 0; i < PAM_NUM_FACILITIES; ++i) {
    177177                openpam_destroy_chain(policy[i]);
     178                policy[i] = NULL;
     179        }
    178180}
    179181
Note: See TracChangeset for help on using the changeset viewer.