Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
color: allow multiple attributes
[gitweb.git]
/
http-push.c
diff --git
a/http-push.c
b/http-push.c
index 968b6b0662a89d437e53bcc699c65e98a745f659..f101df40861a13db40cb2f564476369f3765a28f 100644
(file)
--- a/
http-push.c
+++ b/
http-push.c
@@
-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;
}
}