diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-30 16:18:51 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-31 00:32:08 +0200 |
commit | 702d8d5f87f36a6b62a8ad35af62fd0e7cb20384 (patch) | |
tree | 55e1cc5fdb18930dc4d05e64e0d7b98e743f011f /source3/lib/util.c | |
parent | 3b7e1ac31c764fc2023925288783c868eb6ec31e (diff) | |
download | samba-702d8d5f87f36a6b62a8ad35af62fd0e7cb20384.tar.gz |
s3-lib Move free_namearray() into it's own file
This makes it easier to have conn_smbd strictly depend on all it's
dependencies.
Andrew Bartlett
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index ee696461c6b..e8a360fd3ae 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1414,22 +1414,6 @@ void set_namearray(name_compare_entry **ppname_array, const char *namelist_in) return; } -/**************************************************************************** - Routine to free a namearray. -****************************************************************************/ - -void free_namearray(name_compare_entry *name_array) -{ - int i; - - if(name_array == NULL) - return; - - for(i=0; name_array[i].name!=NULL; i++) - SAFE_FREE(name_array[i].name); - SAFE_FREE(name_array); -} - #undef DBGC_CLASS #define DBGC_CLASS DBGC_LOCKING |