xwayland xwm_get_render_format: free reply
This commit is contained in:
		
							parent
							
								
									dad9543c51
								
							
						
					
					
						commit
						f8a346380c
					
				| 
						 | 
					@ -1274,10 +1274,12 @@ static void xwm_get_render_format(struct wlr_xwm *xwm) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (format == NULL) {
 | 
						if (format == NULL) {
 | 
				
			||||||
		wlr_log(L_DEBUG, "No 32 bit render format");
 | 
							wlr_log(L_DEBUG, "No 32 bit render format");
 | 
				
			||||||
 | 
							free(reply);
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	xwm->render_format_id = format->id;
 | 
						xwm->render_format_id = format->id;
 | 
				
			||||||
 | 
						free(reply);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
 | 
					void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue