r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
[vlendec/samba-autobuild/.git] / source3 / libads / ads_struct.c
index 545995ddccc103c5df87276f3385de717b31afd8..b01e0879ef9cab970a7537b33064abd87656ccb7 100644 (file)
@@ -6,7 +6,7 @@
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
@@ -15,8 +15,7 @@
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "includes.h"
@@ -161,12 +160,6 @@ void ads_destroy(ADS_STRUCT **ads)
                SAFE_FREE((*ads)->config.server_site_name);
                SAFE_FREE((*ads)->config.client_site_name);
                
-               SAFE_FREE((*ads)->schema.posix_uidnumber_attr);
-               SAFE_FREE((*ads)->schema.posix_gidnumber_attr);
-               SAFE_FREE((*ads)->schema.posix_shell_attr);
-               SAFE_FREE((*ads)->schema.posix_homedir_attr);
-               SAFE_FREE((*ads)->schema.posix_gecos_attr);
-               
                ZERO_STRUCTP(*ads);
 
                if ( is_mine )