lavfi/scale_vulkan: fix memory leaks
This commit is contained in:
		
							parent
							
								
									0f2ae1ba69
								
							
						
					
					
						commit
						d0ab2e2f98
					
				@ -256,8 +256,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    s->initialized = 1;
 | 
					    s->initialized = 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return 0;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
fail:
 | 
					fail:
 | 
				
			||||||
    if (spv_opaque)
 | 
					    if (spv_opaque)
 | 
				
			||||||
        spv->free_shader(spv, &spv_opaque);
 | 
					        spv->free_shader(spv, &spv_opaque);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user