Make control flow clearer.
diff --git a/lib/zip_hash.c b/lib/zip_hash.c
index aac580d..23f9708 100644
--- a/lib/zip_hash.c
+++ b/lib/zip_hash.c
@@ -254,14 +254,14 @@
 		}
 		p = entry;
 		entry = entry->next;
+		/* previous does not change */
 		free(p);
-		continue;
 	    }
 	    else {
 		entry->current_index = entry->orig_index;
+		previous = entry;
+		entry = entry->next;
 	    }
-	    previous = entry;
-	    entry = entry->next;
 	}
     }
 }