Plug a memory leak in Xrandr code
This commit is contained in:
		 Caolan McNamara
					Caolan McNamara
				
			
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			 Matthias Clasen
						Matthias Clasen
					
				
			
						parent
						
							ac0ed81b6f
						
					
				
				
					commit
					5964109ef3
				
			| @ -736,7 +736,10 @@ init_randr13 (GdkScreen *screen) | ||||
|       randr12_compat |= !g_strcmp0(output->name, "default"); | ||||
|  | ||||
|       if (output->connection == RR_Disconnected) | ||||
|         continue; | ||||
|         { | ||||
|           XRRFreeOutputInfo (output); | ||||
|           continue; | ||||
|         } | ||||
|  | ||||
|       if (output->crtc) | ||||
| 	{ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user