Skip to content

Commit

Permalink
Merge branch 'maint-1.6.0' into maint-1.6.1
Browse files Browse the repository at this point in the history
* maint-1.6.0:
  http-push.c::remove_locks(): fix use after free
  • Loading branch information
Junio C Hamano committed May 24, 2009
2 parents 58066be + 6589ebf commit ff6e93f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion http-push.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit ff6e93f

Please sign in to comment.