1
0
mirror of https://github.com/git/git.git synced 2024-09-28 17:22:20 +02:00

Merge branch 'maint-1.6.0' into maint-1.6.1

* maint-1.6.0:
  http-push.c::remove_locks(): fix use after free
This commit is contained in:
Junio C Hamano 2009-05-24 15:29:13 -07:00
commit ff6e93fe60

@ -1356,8 +1356,9 @@ static void remove_locks(void)
fprintf(stderr, "Removing remote locks...\n");
while (lock) {
struct remote_lock *next = lock->next;
unlock_remote(lock);
lock = lock->next;
lock = next;
}
}