[BACK]Return to readconf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/readconf.c between version 1.137 and 1.138

version 1.137, 2005/03/04 08:48:06 version 1.138, 2005/03/10 10:15:02
Line 251 
Line 251 
         int i;          int i;
   
         for (i = 0; i < options->num_local_forwards; i++) {          for (i = 0; i < options->num_local_forwards; i++) {
                 xfree(options->local_forwards[i].listen_host);                  if (options->local_forwards[i].listen_host != NULL)
                           xfree(options->local_forwards[i].listen_host);
                 xfree(options->local_forwards[i].connect_host);                  xfree(options->local_forwards[i].connect_host);
         }          }
         options->num_local_forwards = 0;          options->num_local_forwards = 0;
         for (i = 0; i < options->num_remote_forwards; i++) {          for (i = 0; i < options->num_remote_forwards; i++) {
                 xfree(options->remote_forwards[i].listen_host);                  if (options->remote_forwards[i].listen_host != NULL)
                           xfree(options->remote_forwards[i].listen_host);
                 xfree(options->remote_forwards[i].connect_host);                  xfree(options->remote_forwards[i].connect_host);
         }          }
         options->num_remote_forwards = 0;          options->num_remote_forwards = 0;

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138