Commits

Bram Moolenaar  committed 4d1753f

updated for version 7.3.742
Problem: Leaking memory when :vimgrep restores the directory.
Solution: Free the allocated memory. (Christian Brabandt)

  • Participants
  • Parent commits 152afde
  • Tags v7-3-742

Comments (0)

Files changed (2)

File src/quickfix.c

 	    ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd;
 	    ex_cd(&ea);
 	}
+	vim_free(dirname_now);
     }
 }
 

File src/version.c

 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    742,
+/**/
     741,
 /**/
     740,