]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/at.c
ITS#5972 Added newCookie sync info messages.
[openldap] / servers / slapd / at.c
index 54d197c495de09ecf28d556adf0b6aa446d10b01..d4c4244b380344deda6dc4657e543b139b39e22b 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2008 The OpenLDAP Foundation.
+ * Copyright 1998-2009 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -939,6 +939,11 @@ error_return:;
                        at->at_oid = oidm;
                }
 
+               if ( soidm ) {
+                       SLAP_FREE( at->at_syntax_oid );
+                       at->at_syntax_oid = soidm;
+               }
+
        } else if ( rsat ) {
                *rsat = sat;
        }