mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	Free mempool
This commit is contained in:
		
							parent
							
								
									447e027217
								
							
						
					
					
						commit
						02a9273a2e
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -934,7 +934,9 @@ void pa__done(pa_module *m) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (u->memchunk.memblock)
 | 
					    if (u->memchunk.memblock)
 | 
				
			||||||
        pa_memblock_unref(u->memchunk.memblock);
 | 
					        pa_memblock_unref(u->memchunk.memblock);
 | 
				
			||||||
    /* TODO: free mempool */
 | 
					
 | 
				
			||||||
 | 
					    if (u->mempool)
 | 
				
			||||||
 | 
					        pa_mempool_free(u->mempool);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (u->smoother)
 | 
					    if (u->smoother)
 | 
				
			||||||
        pa_smoother_free(u->smoother);
 | 
					        pa_smoother_free(u->smoother);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue