Procházet zdrojové kódy

u-a: Remove unreachable code at the end of alternative_select_choice()

The function contains an infinite loop that does not break out.
Guillem Jover před 14 roky
rodič
revize
18f0cefb38
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      utils/update-alternatives.c

+ 0 - 2
utils/update-alternatives.c

@@ -1602,8 +1602,6 @@ alternative_select_choice(struct alternative *a)
 			}
 		}
 	}
-	free(current);
-	return NULL;
 }
 
 static void