Changeset 612 in openpam


Ignore:
Timestamp:
May 26, 2012, 11:02:55 PM (9 years ago)
Author:
Dag-Erling Smørgrav
Message:

merge r611 from trunk: fix show-stopper memory management bug

Location:
tags/openpam-20120526
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/openpam-20120526

  • tags/openpam-20120526/lib/openpam_configure.c

    r601 r612  
    262262                for (i = 0; i < wordc - this->optc; ++i) {
    263263                        FREE(wordv[i]);
     264                }
     265                for (i = 0; i < this->optc; ++i) {
    264266                        wordv[i] = wordv[wordc - this->optc + i];
    265267                        wordv[wordc - this->optc + i] = NULL;
Note: See TracChangeset for help on using the changeset viewer.