Changeset 897 in openpam


Ignore:
Timestamp:
Jan 17, 2017, 2:35:09 PM (4 years ago)
Author:
Dag-Erling Smørgrav
Message:

merge r877: plug hypothetical memory leak

Location:
branches/nooath
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/nooath

    • Property svn:mergeinfo changed
      /trunkmerged: 877
  • branches/nooath/lib/libpam/openpam_readlinev.c

    r895 r897  
    8080                wordv[wordvlen++] = word;
    8181                wordv[wordvlen] = NULL;
     82                word = NULL;
    8283        }
    8384        if (errno != 0) {
     
    8788                        free(wordv[wordvlen]);
    8889                free(wordv);
     90                free(word);
    8991                errno = serrno;
    9092                return (NULL);
Note: See TracChangeset for help on using the changeset viewer.