mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r16490: Fix a memleak and two typos
(This used to be commit 8cf364e602
)
This commit is contained in:
parent
505f6b42c9
commit
1d21b9659b
@ -91,7 +91,7 @@
|
||||
* Registry key types
|
||||
* Most keys are going to be GENERIC -- may need a better name?
|
||||
* HKPD and HKPT are used by reg_perfcount.c
|
||||
* they are special keys that congtain performance data
|
||||
* they are special keys that contain performance data
|
||||
*/
|
||||
#define REG_KEY_GENERIC 0
|
||||
#define REG_KEY_HKPD 1
|
||||
@ -99,7 +99,7 @@
|
||||
|
||||
/*
|
||||
* container for function pointers to enumeration routines
|
||||
* for vitural registry view
|
||||
* for virtual registry view
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
|
@ -124,6 +124,7 @@ static int shares_value_info( const char *key, REGVAL_CTR *val )
|
||||
num_values = handle_printing_subpath( path, NULL, val );
|
||||
#endif
|
||||
|
||||
SAFE_FREE(path);
|
||||
|
||||
return num_values;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user