summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-30 16:18:51 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-31 00:32:08 +0200
commit702d8d5f87f36a6b62a8ad35af62fd0e7cb20384 (patch)
tree55e1cc5fdb18930dc4d05e64e0d7b98e743f011f /source3/lib/util.c
parent3b7e1ac31c764fc2023925288783c868eb6ec31e (diff)
downloadsamba-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.c16
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