mirror of
				https://github.com/samba-team/samba.git
				synced 2025-11-04 00:23:49 +03:00 
			
		
		
		
	r4140: Get rid of close_hive (replace it with talloc destructors).
This commit is contained in:
		
				
					committed by
					
						
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							3040cd6515
						
					
				
				
					commit
					bcbfce7b01
				
			@@ -111,7 +111,6 @@ struct hive_operations {
 | 
			
		||||
 | 
			
		||||
	/* Implement this one */
 | 
			
		||||
	WERROR (*open_hive) (struct registry_hive *, struct registry_key **);
 | 
			
		||||
	WERROR (*close_hive) (struct registry_hive *);
 | 
			
		||||
 | 
			
		||||
	/* Or this one */
 | 
			
		||||
	WERROR (*open_key) (TALLOC_CTX *, struct registry_key *, const char *name, struct registry_key **);
 | 
			
		||||
@@ -148,9 +147,9 @@ struct hive_operations {
 | 
			
		||||
 | 
			
		||||
struct registry_hive {
 | 
			
		||||
	const struct hive_operations *functions;
 | 
			
		||||
	char *location;
 | 
			
		||||
	void *backend_data;
 | 
			
		||||
	struct registry_key *root;
 | 
			
		||||
	void *backend_data;
 | 
			
		||||
	const char *location;
 | 
			
		||||
	struct registry_context *reg_ctx;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user