Skip to content

Commit

Permalink
Merge branch 'maint-1.6.1' into maint-1.6.2
Browse files Browse the repository at this point in the history
* maint-1.6.1:
  http-push.c::remove_locks(): fix use after free
  • Loading branch information
Junio C Hamano committed May 24, 2009
2 parents 2131951 + ff6e93f commit 34ab57d
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 @@ -1378,8 +1378,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 34ab57d

Please sign in to comment.