Add dlclose so that shared libraries get shutdown correctly
This commit is contained in:
		@ -326,6 +326,7 @@ MODULES	*ptr;
 | 
				
			|||||||
	 * The module is now not in the linked list and all
 | 
						 * The module is now not in the linked list and all
 | 
				
			||||||
	 * memory related to it can be freed
 | 
						 * memory related to it can be freed
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
 | 
						dlclose(mod->handle);
 | 
				
			||||||
	free(mod->module);
 | 
						free(mod->module);
 | 
				
			||||||
	free(mod->type);
 | 
						free(mod->type);
 | 
				
			||||||
	free(mod->version);
 | 
						free(mod->version);
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user