/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugins.d/password-prompt.c

Several memory leaks detected by valgrind fixed
A bugg fixed that could cause seg fault.

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
      fprintf(stderr, "getline() returned 0, retrying.\n");
245
245
    }
246
246
  }
 
247
 
 
248
  free(buffer);
247
249
  
248
250
  if (debug){
249
251
    fprintf(stderr, "Restoring terminal attributes\n");