mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	modules: Fix resource leak in device-restore
https://scan7.coverity.com:8443/reports.htm#v10205/p10016/fileInstanceId=8724&defectInstanceId=3728&mergedDefectId=591265 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
		
							parent
							
								
									cfce437e47
								
							
						
					
					
						commit
						a4b8a9d5a2
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -1152,6 +1152,7 @@ static int extension_cb(pa_native_protocol *p, pa_module *m, pa_native_connectio
 | 
				
			||||||
                pa_format_info *f = pa_format_info_new();
 | 
					                pa_format_info *f = pa_format_info_new();
 | 
				
			||||||
                if (pa_tagstruct_get_format_info(t, f) < 0) {
 | 
					                if (pa_tagstruct_get_format_info(t, f) < 0) {
 | 
				
			||||||
                    pa_format_info_free(f);
 | 
					                    pa_format_info_free(f);
 | 
				
			||||||
 | 
					                    perportentry_free(e);
 | 
				
			||||||
                    pa_xfree(name);
 | 
					                    pa_xfree(name);
 | 
				
			||||||
                    goto fail;
 | 
					                    goto fail;
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue