diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-06-24 09:41:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:18:57 -0500 |
commit | 8cf364e602eea408fd9cd6acd12f2b72971361ae (patch) | |
tree | b8a6a22a8f716792bbaeaac904ecdb725c0867c3 | |
parent | 164cdf69f395236ffef9ecc202543d53b5eda2da (diff) | |
download | samba-8cf364e602eea408fd9cd6acd12f2b72971361ae.tar.gz samba-8cf364e602eea408fd9cd6acd12f2b72971361ae.tar.xz samba-8cf364e602eea408fd9cd6acd12f2b72971361ae.zip |
r16490: Fix a memleak and two typos
-rw-r--r-- | source/include/rpc_reg.h | 4 | ||||
-rw-r--r-- | source/registry/reg_shares.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/include/rpc_reg.h b/source/include/rpc_reg.h index b24b640237f..c454a1d6f94 100644 --- a/source/include/rpc_reg.h +++ b/source/include/rpc_reg.h @@ -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 { diff --git a/source/registry/reg_shares.c b/source/registry/reg_shares.c index 85ac812101a..5a3e9a131b6 100644 --- a/source/registry/reg_shares.c +++ b/source/registry/reg_shares.c @@ -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; } |