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

Diff for /src/usr.bin/less/search.c between version 1.14 and 1.15

version 1.14, 2015/11/21 13:29:12 version 1.15, 2015/12/09 19:25:44
Line 121 
Line 121 
 static void  static void
 clear_pattern(struct pattern_info *info)  clear_pattern(struct pattern_info *info)
 {  {
         if (info->text != NULL)          free(info->text);
                 free(info->text);  
         info->text = NULL;          info->text = NULL;
         uncompile_pattern(&info->compiled);          uncompile_pattern(&info->compiled);
 }  }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15