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

Diff for /src/usr.bin/rcs/ci.c between version 1.216 and 1.217

version 1.216, 2013/10/27 18:31:24 version 1.217, 2014/05/19 19:42:24
Line 287 
Line 287 
                         (void)fprintf(stderr,                          (void)fprintf(stderr,
                             "%s  <--  %s\n", pb.fpath, pb.filename);                              "%s  <--  %s\n", pb.fpath, pb.filename);
   
                 /* XXX - Should we rcsnum_free(pb.newrev)? */  
                 if (rev_str != NULL)                  if (rev_str != NULL)
                         if ((pb.newrev = rcs_getrevnum(rev_str, pb.file)) ==                          if ((pb.newrev = rcs_getrevnum(rev_str, pb.file)) ==
                             NULL)                              NULL)
Line 315 
Line 314 
                 }                  }
   
                 rcs_close(pb.file);                  rcs_close(pb.file);
                   if (rev_str != NULL)
                           rcsnum_free(pb.newrev);
                 pb.newrev = NULL;                  pb.newrev = NULL;
         }          }
   

Legend:
Removed from v.1.216  
changed lines
  Added in v.1.217